|
Web Development & Graphic Design Problem Solving for Graphic Design, PHP, ASP, Perl, MySQL, SQL, XML, HTML issues |
|
Topic Tools |
#1
|
|||
|
|||
File name and location
Hello
So I'll host some files and I need some advice regarding filenames, here is my code for download: PHP Code:
Do you find this secure enough, ok encode/decode is waste of time? I did find some great encrypts, but they also include some "weird" symbols, and using just md5 looks just too much noob I also must mention that my script doesn't show location of the file, everything is done in background and then the above function is called, so nobody even knows the real name of files, location etc... but again I would be in a big problem if I made a mistake and open a door to hackers... |
#2
|
|||
|
|||
You could throw a timestamp in the filename along with a random alpha character or two at the beginning. Tends to look logical and ok without being too "weird." I do something similar as well and personally feel hiding the actual file names is a good measure to keep people from guessing other file names.
|
#3
|
|||
|
|||
can you give an example? maybe on PM if it's private...
|
#4
|
|||
|
|||
Hello
I'll just use this topic, I'm using the script posted above in a function located in class which a call within class. It works, but when I refresh the page, for some reason I can see the html source code... |
#5
|
||||
|
||||
Sorry I didn't follow that. You can only see it when you refresh or when you don't refresh?
Is it possible to link to the site or give us a sample of the code that is doing it. Keep in mind if you are posting information to a page (from a form for example) you can't guarantee the browser will resend the posted information (most browsers will ask if one wants to resend the information). |
Bookmarks |
«
Previous Topic
|
Next Topic
»
Topic Tools | |
|
|
Similar Topics | ||||
Topic | Topic Starter | Forum | Replies | Last Post |
open file location problem | Antariksh | Windows 7 | 1 | May 1st, 2013 04:07 PM |
file location and post | FrEaKmAn | Web Development & Graphic Design | 1 | February 24th, 2008 04:39 AM |
Sound File Location | ultraman | Windows XP | 1 | February 1st, 2006 11:07 AM |
Can't find file location.... | DoubleShimmer | Malware Removal | 2 | June 14th, 2004 05:37 PM |
Default file location | Mary Ann | Windows XP | 1 | April 5th, 2003 07:17 AM |
All times are GMT +1. The time now is 03:30 AM.