Can I restrict which members can access the Files?

With htaccess, how can I restrict directory info through a pword, but allow direct linking w/o authentication?

  • I'm trying to restrict access to a directory through a password on my server, but allow direct linking without authentication. As of now, I have the following snippets of code: AuthType Basic AuthName "Access for /backup" AuthUserFile /etc... /htpasswd require user whateverusername Options +Indexes +MultiViews +FollowSymlinks <Files *.mp3> Allow From All </Files> I don't know what to modify to allow direct access to the mp3 files without displaying the directory info, but I want the directory to be available to certain users.

  • Answer:

    One by one ... 1st question >> answer yes 2nd question >> answer no Do with cgi or php ... stream and play using build in windows media player within your html code like <embed> ... </embed> Andi Ahdin Indonesia

James Q at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.