Any code to hide style.css link

Started on the old forum in December 2009 · view the original in the archive · old links redirect here

74 replies · 3,682 views · started 16 years ago · 1 min read

TL;DR · summary of 74 replies
  • - CSS cannot be fully protected from those who know how to look at it.
  • - The only practical method mentioned was hiding the CSS file by changing its name or moving it out of the public directory, which is not a foolproof solution.
  • - Some suggested using PHP Encoder for obfuscating PHP scripts but noted that this does not protect CSS files.
  • - No clear code approach or example was provided to hide CSS.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

28 participants
arnage Lead · 811 posts #41

blockerhead wrote: .htaccess file inside cant work in my hosting.

It shuld work... Try to remove command RewriteEngine on

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
CreativityKills Lead · 833 posts #42

metulj wrote: you got *.css for posted link... i've stole it just to prove my point... *.CSS just can't be protected..😊

not cant, it Should'nt. Y go through all the troubles trying? When i can get ur color scheme anyway? Even facebook doesnt hide theirs. Only new coders are bothered with dat kinda stuff anyway, i wudnt cuz i cud make 200 css for ur site in a giffy. Lmao.

ranzit2 Developer · 187 posts #44

????

sladex wrote: Ok, if there is no way to protect css code, try to find CSS file in this page: upmusic.info/css/

And write here CSS CODE 😑

body {color: #000000; margin: 0px; padding:0px; background-color: #D9E9C8; font-family: Verdana; font-size: 13px; width: 100%;}                                         
a:link,a:visited,a:active {color: #0000FF;text-decoration: underline;}
a:hover {color: #3E9722;font-style: bold;}
.center, .bottom {text-align:center;}
.center {text-align: center;}
.left {text-align: left;}
.pm {background: #9CC66F  repeat-x bottom;}
.title {background:  #79c042 repeat-x bottom;text-align: center; border: 1px solid #C5DD7C;font-size: 13px;color: #FFFFFF;}
.footer {text-align: center; font: 10px Verdana; color: #6B6B6B;}
.l {border:#0000A0 solid 1px;text-align: left;font: 13px Verdana;color: #6B6B6B;text-decoration: undeline;}
.menu {text-align: center; background: #79c042  repeat-x bottom;border: 1px solid #C5DD7C;font-size: 13px;}
.menu_left {text-align: left; background: #79c042  repeat-x bottom;border: 1px solid #C5DD7C;font-size: 13px;}
.m1 {background: #D9E9C8;}
.m2 {background: #D9E9C8;}
.navigation {text-align: center; border: 1px solid #C5DD7C;font-size: 13px;}
.b {border-bottom: 1px #FF4646 solid;}	
input, select {font: 13px Verdana, Arial, sans-serif; background: #FFFFFF; color: #000000; border: 1px solid;}
input.button {font: 13px Verdana, Arial, sans-serif; background: #79c042; color: #000000; border: 1px solid;}
a.headbuton:visited,a.headbuton:link {font: 13px Verdana; background: #79c042; color: #000000;border: 1px #000000 solid;padding-right: 3px;padding-left: 3px;text-decoration: none;}
.p {border-bottom: 1px #BBBB00 solid;}
.center2 {text-align: center; margin: 0 auto;} 
.border {border: 2px solid #C5DD7C;}

is it right mate??

she is beautifull than php.and i love her more than php.

WereWolveZ Developer · 51 posts #45

sladex bro how did u do that

With Christmas quickly approaching you’re going to need to get a gift for your werewolf lover and I’m here to help you out. Here are 10 gift ideas perfect for any fan of the furry.😌 http://vampires.com and http://darkness.com

modfiles Developer · 200 posts #46

sladex wrote: Ok, if there is no way to protect css code, try to find CSS file in this page: upmusic.info/css/

And write here CSS CODE 😑

[B]http://upmusic.info/css/[/B]

[B]http://upmusic.info/css/style.css[/B]

body {color: #000000; margin: 0px; padding:0px; background-color: #D9E9C8; font-family: Verdana; font-size: 13px; width: 100%;}                                         

a:link,a:visited,a:active {color: #0000FF;text-decoration: underline;}

a:hover {color: #3E9722;font-style: bold;}

.center, .bottom {text-align:center;}

.center {text-align: center;}

.left {text-align: left;}

.pm {background: #9CC66F  repeat-x bottom;}

.title {background:  #79c042 repeat-x bottom;text-align: center; border: 1px solid #C5DD7C;font-size: 13px;color: #FFFFFF;}

.footer {text-align: center; font: 10px Verdana; color: #6B6B6B;}

.l {border:#0000A0 solid 1px;text-align: left;font: 13px Verdana;color: #6B6B6B;text-decoration: undeline;}

.menu {text-align: center; background: #79c042  repeat-x bottom;border: 1px solid #C5DD7C;font-size: 13px;}

.menu_left {text-align: left; background: #79c042  repeat-x bottom;border: 1px solid #C5DD7C;font-size: 13px;}

.m1 {background: #D9E9C8;}

.m2 {background: #D9E9C8;}

.navigation {text-align: center; border: 1px solid #C5DD7C;font-size: 13px;}

.b {border-bottom: 1px #FF4646 solid;}	

input, select {font: 13px Verdana, Arial, sans-serif; background: #FFFFFF; color: #000000; border: 1px solid;}

input.button {font: 13px Verdana, Arial, sans-serif; background: #79c042; color: #000000; border: 1px solid;}

a.headbuton:visited,a.headbuton:link {font: 13px Verdana; background: #79c042; color: #000000;border: 1px #000000 solid;padding-right: 3px;padding-left: 3px;text-decoration: none;}

.p {border-bottom: 1px #BBBB00 solid;}

.center2 {text-align: center; margin: 0 auto;} 

.border {border: 2px solid #C5DD7C;}
arnage Lead · 811 posts #47

"Do you find my css file? :)"

Jep. 🙂

body {color: #000000; margin: 0px; padding:0px; background-color: #D9E9C8; font-family: Verdana; font-size: 13px; width: 100%;}                                         
a:link,a:visited,a:active {color: #0000FF;text-decoration: underline;}
a:hover {color: #3E9722;font-style: bold;}
.center, .bottom {text-align:center;}
.center {text-align: center;}
.left {text-align: left;}
.pm {background: #9CC66F  repeat-x bottom;}
.title {background:  #79c042 repeat-x bottom;text-align: center; border: 1px solid #C5DD7C;font-size: 13px;color: #FFFFFF;}
.footer {text-align: center; font: 10px Verdana; color: #6B6B6B;}
.l {border:#0000A0 solid 1px;text-align: left;font: 13px Verdana;color: #6B6B6B;text-decoration: undeline;}
.menu {text-align: center; background: #79c042  repeat-x bottom;border: 1px solid #C5DD7C;font-size: 13px;}
.menu_left {text-align: left; background: #79c042  repeat-x bottom;border: 1px solid #C5DD7C;font-size: 13px;}
.m1 {background: #D9E9C8;}
.m2 {background: #D9E9C8;}
.navigation {text-align: center; border: 1px solid #C5DD7C;font-size: 13px;}
.b {border-bottom: 1px #FF4646 solid;}	
input, select {font: 13px Verdana, Arial, sans-serif; background: #FFFFFF; color: #000000; border: 1px solid;}
input.button {font: 13px Verdana, Arial, sans-serif; background: #79c042; color: #000000; border: 1px solid;}
a.headbuton:visited,a.headbuton:link {font: 13px Verdana; background: #79c042; color: #000000;border: 1px #000000 solid;padding-right: 3px;padding-left: 3px;text-decoration: none;}
.p {border-bottom: 1px #BBBB00 solid;}
.center2 {text-align: center; margin: 0 auto;} 
.border {border: 2px solid #C5DD7C;}

Look bro, I have spend about 3 months last year trying to find a way and I learned two things:

  1. How to use .htaccess basicly;

  2. That there is no way to protect CSS code.

🙂

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
kei_ki7 Senior · 431 posts #48

i think, the only way for this is to encrypt your css

Did I help you? You can help me too Your donations will help me finance my studies.

arnage Lead · 811 posts #49

kei_ki7 wrote: i think, the only way for this is to encrypt your css

It cant. 😉 See the 3. page of this thred.

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
modfiles Developer · 200 posts #50

but the last one posted by sladex will work on "NOOBS" but not well, at least not on someone whos a little more advance from noob. but whoever is that, they wont copy your css. only the noobs will do.

metulj Super moderator Principal · 1,726 posts #51

opticalpigion wrote: first of all.. i made demo only to show that its possible to encrypte source too anyways now u can check that demo again and tell me if u can find that :p

btw.. i almost forgot 🤨 here's your 8.css

body {background-color: #FFFFFF; color: #000000; font-family : Verdana, Arial, Helvetica, sans-serif;margin: 0px; padding: 2px; max-width: 550px;
                  margin: 3px auto; 
                  text-align :left;
	 font-size: 10pt; 
			                }

a:active  {color: #3300CC;}
a:visited {color: #3A5992;}
a:hover {color: #990000;}

div {background-color: E7E7E7; color:#000;padding: 2px 0px 2px 0px; font-size: 10pt; }
a.altlink:hover {color:#990000;font-size: small; }
a.altlink {color: #000;margin: 2px 0px 2px 0px; font-size: 10pt; padding: 2px 0px 2px 0px;}

.main {background-color: #FFFFFF; color:#000;padding: 2px 0px 2px 0px; font-size: 10pt; }

😳

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

sladex Developer · 232 posts #52

modfiles wrote: but the last one posted by sladex will work on "NOOBS" but not well, at least not on someone whos a little more advance from noob. but whoever is that, they wont copy your css. only the noobs will do.

Yes, it's true. I think you need just some protection from NOOBS.

opticalpigion Lead · 593 posts #53

metulj wrote: btw.. i almost forgot 🤨 here's your 8.css

body {background-color: #FFFFFF; color: #000000; font-family : Verdana, Arial, Helvetica, sans-serif;margin: 0px; padding: 2px; max-width: 550px;
                  margin: 3px auto; 
                  text-align :left;
	 font-size: 10pt; 
			                }

a:active  {color: #3300CC;}
a:visited {color: #3A5992;}
a:hover {color: #990000;}

div {background-color: E7E7E7; color:#000;padding: 2px 0px 2px 0px; font-size: 10pt; }
a.altlink:hover {color:#990000;font-size: small; }
a.altlink {color: #000;margin: 2px 0px 2px 0px; font-size: 10pt; padding: 2px 0px 2px 0px;}

.main {background-color: #FFFFFF; color:#000;padding: 2px 0px 2px 0px; font-size: 10pt; }

😳

wrong.

i have used orkut_small.css there which is same as before. i changed that source's output only.

ewanz Developer · 187 posts #54

If u use lava wapdesire, s0me0ne can steal y0ur css file by redirect url fr0m y0ur theme direct0ry

our lfe is simple words.... 😌 http://mygenkz.net ewanz06@yahoo.com

$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file); 
godfathersis Junior · 35 posts #56
body {color: #000000; margin: 0px; padding:0px; background-color: #D9E9C8; font-family: Verdana; font-size: 13px; width: 100%;}                                         
a:link,a:visited,a:active {color: #0000FF;text-decoration: underline;}
a:hover {color: #3E9722;font-style: bold;}
.center, .bottom {text-align:center;}
.center {text-align: center;}
.left {text-align: left;}
.pm {background: #9CC66F  repeat-x bottom;}
.title {background:  #79c042 repeat-x bottom;text-align: center; border: 1px solid #C5DD7C;font-size: 13px;color: #FFFFFF;}
.footer {text-align: center; font: 10px Verdana; color: #6B6B6B;}
.l {border:#0000A0 solid 1px;text-align: left;font: 13px Verdana;color: #6B6B6B;text-decoration: undeline;}
.menu {text-align: center; background: #79c042  repeat-x bottom;border: 1px solid #C5DD7C;font-size: 13px;}
.menu_left {text-align: left; background: #79c042  repeat-x bottom;border: 1px solid #C5DD7C;font-size: 13px;}
.m1 {background: #D9E9C8;}
.m2 {background: #D9E9C8;}
.navigation {text-align: center; border: 1px solid #C5DD7C;font-size: 13px;}
.b {border-bottom: 1px #FF4646 solid;}    
input, select {font: 13px Verdana, Arial, sans-serif; background: #FFFFFF; color: #000000; border: 1px solid;}
input.button {font: 13px Verdana, Arial, sans-serif; background: #79c042; color: #000000; border: 1px solid;}
a.headbuton:visited,a.headbuton:link {font: 13px Verdana; background: #79c042; color: #000000;border: 1px #000000 solid;padding-right: 3px;padding-left: 3px;text-decoration: none;}
.p {border-bottom: 1px #BBBB00 solid;}
.center2 {text-align: center; margin: 0 auto;} 
.border {border: 2px solid #C5DD7C;}
sklbd Junior · 47 posts #57
<link rel="StyleSheet" type="text/css" href="/style01.css"/>
<style type="text/css">
 
body  {margin:0px;color:#000;background-color:#008000;font-size:24px;font-we   ight:normal;padding:2px;}  input,select,textarea{margin:0px;color:#070;background-color:#c7f2a3;fon   t-size:12px;padding:2px;border:1px solid #060;}  input:hover,select:hover,textarea:hover{background-color:#f6f6f6;color:#0   00;}  div{font-family:Tahoma;}  .head  {  text-align:center;  color:#666666;  background-color:#FFFFFF;  border-bottom-color:#000000;  border-bottom-width:thin;  border-bottom-style:dotted;  font-size:small;  font-weight:small;  padding:4px  }    .skl  {  text-align:center;  padding:6px;  color:#ffffff;  border-bottom-color:#ffffff;  border-bottom-width:6px;  border-bottom-style:solid;  font-weight:small}  a:link,a:visited,a:active{color:#FF0000;text-decoration:none;}  a:hover{text-decoration:none;color: #FFF000;padding: 1px 2px 1px    2px;background-color:#6aab50;}    .skl2  {  text-align:center;  padding:6px;  color:#FF0000;  border-bottom-color:#ffffff;  border-bottom-width:6px;  border-bottom-style:solid;  font-weight:small}  a:link,a:visited,a:active{color:#FF0000;text-decoration:none;}  a:hover{text-decoration:none;color: #FFF000;padding: 1px 2px 1px    2px;background-color:#6aab50;}    .skl3  {  text-align:left;  padding:6px;  color:#FF0000;  border-bottom-color:#ffffff;  border-bottom-width:6px;  border-bottom-style:solid;  font-weight:small}  a:link,a:visited,a:active{color:#FF0000;text-decoration:none;}  a:hover{text-decoration:none;color: #FFF000;padding: 1px 2px 1px    2px;background-color:#ffffff;}    .skl4  {  text-align:center;  padding:6px;  color:#ffffff;  border-bottom-color:#ffffff;  border-bottom-width:6px;  border-bottom-style:solid;  font-weight:small}  a:link,a:visited,a:active{color:#FF0000;text-decoration:none;}  a:hover{text-decoration:none;color: #FFF000;padding: 1px 2px 1px    2px;background-color:#6aab50;}      .skl5  {  text-align:center;  padding:6px;  color:#FF6437;  border-bottom-color:#ffffff;  border-bottom-width:6px;  border-bottom-style:solid;  font-weight:small}  a:link,a:visited,a:active{color:#FF0000;text-decoration:none;}  a:hover{text-decoration:none;color: #FFF000;padding: 1px 2px 1px    2px;background-color:#6aab50;}      
</style>

my styl

ShaK!L AhammeD

Sklifbd.CoM +88-01730039272

morrelinko Newbie · 3 posts #59

Using php script and modifying the header is a nice option and can be made advanced i think. A suggestion. You might try putting this in your style.php script

if(get_domain() == '/path/to/css/style.php')) {die();}

note: the get_domain() function is a function that gets the current url. Then you can use file_get_contents to get the contents of the original style.css. Hope you understand? As for me, i also use the current user's name as a key.

Money is not everything, money is the only thing

facebook is a good place to spam

http://myprov.co.cc

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close