Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-19-2011, 04:31 PM   PM User | #1
jonny1990
New Coder

 
Join Date: Apr 2011
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
jonny1990 is an unknown quantity at this point
Denying Access to CSS ~FTP Help

Hi guys, i've seen websites around where if i go into the source code, and in mozilla you can click straight through to the CSS, something disables this and says you are not allowed to view this CSS.

How would i do this??

jonny1990
jonny1990 is offline   Reply With Quote
Old 04-19-2011, 04:35 PM   PM User | #2
Wojjie
Regular Coder

 
Join Date: Apr 2011
Posts: 286
Thanks: 2
Thanked 39 Times in 39 Posts
Wojjie is on a distinguished road
Could be one of two things, either it checks the referral (risky), or you are talking about it blocking you from right clicking the page and going to view source, which you can get around that.

The right click thing is a simple javascript code that some websites use, but typically it looks 'cheap'.

Really, you shouldn't be trying to hide anything, cause its not possible to truly hide it. If the browser can read it and get it, then a user can as well.
Wojjie is offline   Reply With Quote
Old 04-20-2011, 01:31 AM   PM User | #3
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Quote:
Originally Posted by jonny1990 View Post
Hi guys, i've seen websites around where if i go into the source code, and in mozilla you can click straight through to the CSS, something disables this and says you are not allowed to view this CSS.

How would i do this??

jonny1990
Post the websites you've seen and we will tell you what they are doing.
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:00 AM.


Advertisement
Log in to turn off these ads.