gcreddy Posted September 13, 2009 Share Posted September 13, 2009 Hello....I am a novice and have been developing a secure file transfer system in php....I want to enable ONLY my clients to be able to download their files......for example....in my code....if I write the following line <a href="/images/image1.jpg">Download here</a> My client should be able to download that file.....however.....if someone types "http://www.domainname.com/Folder1/images/image1.jpg" and pastes it into their browser....the access should be denied.... Infact....if some one types "http://www.domainname.com/Folder1/" the contents of the folder also shouldn't be displayed.... Can someone tell me how I should change the permissions (right now all the permissions are set to 0755 i.e. rwxr-xr-x) on my server and the changes (if any) that should be done to my code to enable this feature?? Regards, G.C.Reddy Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.