Placing files above the index file

  • tastysite
  • Proficient
  • Proficient
  • User avatar
  • Posts: 349
  • Loc: Brighouse, West Yorkshire, England

Post 3+ Months Ago

HI I want to place the assets,css,marsters,new and include files above my index page so people can not view them.
How do you reference them in that state?
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

You don't, they're inaccessible.
  • tastysite
  • Proficient
  • Proficient
  • User avatar
  • Posts: 349
  • Loc: Brighouse, West Yorkshire, England

Post 3+ Months Ago

O tar I just thought because I know you can do it with javascript...
How do you stop people been able to access them then I know sites that even if you know the url of say a pictore and type it in you still can not access it.
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

I don't mean to sound rude, but just because you haven't figured out how to access them doesn't mean they're inaccessible. :)

Usually there's some sort of HTTP referer check being done and since typing the URL sends no referer unless you use something like wget or cURL, it chokes.

There's things that "look" like they work, but for every method, there's a few thousand people at the very least that will show someone how to bypass that method for little or nothing.

You will ALWAYS put more effort into restricting access to public documents than will be used to access them in an unwanted way.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6254
  • Loc: Seattle, WA

Post 3+ Months Ago

Never rely on "security by obscurity."

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 14 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.