mIRC Home    About    Download    Register    News    Help

Print Thread
#191238 05/12/07 04:26 PM
Joined: Jan 2007
Posts: 1,156
D
DJ_Sol Offline OP
Hoopy frood
OP Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
Hello, I have an updater I wrote for mIRC. It checks a text file on my site and downloads files in the folder.

I also have a forum and I notice there are .htaccess files. Im thinking these files make it so you have to be logged in to access the files in the folder.

I want to do the same with my update files. I want to make it so you may only access them if you use my update script through mIRC.

Any ideas on this?

Joined: Dec 2002
Posts: 503
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Dec 2002
Posts: 503
This is really an Apache (or whatever HTTPd service you're running) question.

If it were apache, you could do checks on the user-agent and restrict access that way (as your updater will always have a fixed string you can control).


Link Copied to Clipboard