How to restrict access file from Apache Server? -


If I allow the user to upload the file, then the user files the file after uploading

wwww.someplace.com/public_file/ ... ....

Therefore, you can access all files. But I would like to make some restrictions on that. For example, I want to reduce download speed for non login users. How can I do that? In addition, if I want to limit the user to receive the file, then he does not have the user's right ... ... for example, if some users

  at wwww Uploads in some places / secret_place / ... ...  

Only the user has some rights, can access this place ... ... I How can i Should I also do this web application and Apache server in config? Thank you.

For users, you can split it between Apache and your application because I know that most Servers use a database to support authentication; Apache definitely supports several methods of authentication, you should get some useful information here:

The point of attention is that if you were working specifically in this application then this easy Will be permeable. You can restrict the download speed for non-logged in users who shape traffic.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -