Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-24-2003, 09:48 PM   #1
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Htaccess question

How to i stop someone from typing in for example

www.gggg.com/juicy.js and downloding the .js file?
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-24-2003, 10:09 PM   #2
Snake Doctor
I'm Lenny2 Bitch
 
Snake Doctor's Avatar
 
Join Date: Mar 2001
Location: On top of my soapbox
Posts: 13,449
I would think you could add the "js" extension to the file you already have protecting your jpegs.

If you don't already have one, do a search on google for htaccess, there's plenty of good resources out there
__________________
sig too big
Snake Doctor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-24-2003, 10:15 PM   #3
Libertine
sex dwarf
 
Libertine's Avatar
 
Join Date: May 2002
Posts: 17,860
Quote:
Originally posted by juicylinks
How to i stop someone from typing in for example

www.gggg.com/juicy.js and downloding the .js file?
Virtually impossible if you want to retain functionality for at least 90% of the surfers.

(I am assuming you want to make it impossible for surfers to get the .js file)
__________________
/(bb|[^b]{2})/

Last edited by Libertine; 01-24-2003 at 10:17 PM..
Libertine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2003, 01:59 AM   #4
Plugger
Confirmed User
 
Industry Role:
Join Date: Jul 2001
Location: North Coast
Posts: 592
lenny2 is onthe right track, I would try referer protecting the .js file. It would be easier if the .js file were in it's own directory.

You might want to check your logs to see how the .js is called and what the referer is . . .
Plugger is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2003, 02:01 AM   #5
Voodoo
♥ ♦ ♣ ♠
 
Voodoo's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 10,592
COMMAND PROMPT:

FTP gggg.com
USERNAME: XXXXXXX
PASSWORD: XXXXXXXX

cd www_root
ren juicy.js reallyjuicy.js

-----------DONE-------------
__________________

"I'm selflessly supporting the common good, but only coincidentally looking out for No.1."
Voodoo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2003, 02:02 AM   #6
Voodoo
♥ ♦ ♣ ♠
 
Voodoo's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 10,592
You can also put it in a different directory, and protect that directory with htaccess.
__________________

"I'm selflessly supporting the common good, but only coincidentally looking out for No.1."
Voodoo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.