top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration
Print Preview

.htaccess and user file/folder access outside public_html

+1 vote
75 views

I'm facing a problem and i don't know where to start and in fact, how to do it.

Situation:
Users of my website should be able to save their resume files + cover letters on my webserver.

Problem:
How to make their file SECURED from any hack ? I mean only file owner and web administrator (so in this case... myself) should have access to those files. never user B should be able to access, read or download files of user A.

my guess:
I was thinking to store files outside public_html folder, in the following way:

/resumes/user A/resume A
/resumes/user A/cover letter A
/resumes/user B/resume B - US
/resumes/user B/resume B - ES
/resumes/user B/cover letter B

Questions:
1. how can i allow user to have access to folder/files outside public_html ?
2. how can i secure that user A has access to his own files ONLY ?

I searched on internet for some help but i did not find anything really relevant...only theory and no really in details.

posted May 25, 2013 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

Similar Questions
+2 votes

Can someone give me an understanding of how the .ini settings are located and combined? I am under the impression that there is a full settings .ini file somewhere up high in my host's server tree and that
any settings I create in .ini files in each of my domain folders are appended/updated against the 'main' ini settings to give me a 'current' group of php.ini settings.

What I'm looking to find out is does an ini setting established in a test subdomain of my site affect those ini settings outside of my test subdomain?


Useful Links with Similar Problem
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#470/147, 3rd Floor, 5th Main,
HSR Layout Sector 7,
Bangalore - 560102,
Karnataka INDIA.
QUERY HOME
...