original work
Collapse
X
-
I have 3 things to say:
1) Facebook Mobile has the entire css code in one line, without no spaces, and much unused classes, but I am still using it in a Facebook Clone Theme in my site.
2) Is DjMatrix here? I catched him copying my css :p
3) Riderz is Mafia!
Leave a comment:
-
So am I... ;)
--------------------
Forgot that pls, I didnt understand u.
I cant find the topic about css protection where I have leaved the basics...
Most trics, in a word, are to write css file in php with seacret name, place it in the folder, at the top goes if(strpos($_SERVER['PHP_SELF'],'css.php')) exit(' FALSE CSS CODES'), change it with htaccess, and put the false css codes to be displayed via url in second attempt. First is forbbiden page.
I havent it anywere to try some things now...Last edited by arnage; 16.05.10, 21:08.
Leave a comment:
-
Originally posted by arnages View PostNo, no, I dont know how to block it and I think that it is only tool wich can see the css code without viewing the css file.
All other trics by calling it in url are ok. ;)
Just leaves the FireBug...
and since i can pick up basicly any css...
i'd dare to say that firebug can't be really the only tool
Leave a comment:
-
No, no, I dont know how to block it and I think that it is only tool wich can see the css code without viewing the css file.
All other trics by calling it in url are ok. ;)
Just leaves the FireBug...
Leave a comment:
-
Block the FireBug and the css file is protected...
In the browsers cahs will no one look, who trying to take css file.
Leave a comment:
-
1. no ones saying css or html is 100% protectable, ive never said it was and i never would. no client side language can be protected
2. inline css is a **** load harder to steal, on one of my project sites i have a main css file consisting of >100 id's and classes, add on top of that 12 per page stylesheets with around 25 each and thats a lot of inline css to root through, i very much doubt anyone would attempt to steal the full design from the source view.
3. You cant say anyone who wants to protect their works isn't worthy to be a coder, on that statement id argue your one of the worst coders here since you dont have the ability to realise that a site can be made or broke on its chosen design and layout and once that is cloned you no longer are a unique site, users dont care who come first with the design, if your a decent site then you will be forced to change your design (unless ofcourse your design is so basic that it was never originally considered unique... like facebook)
4. anyone that has an avatar containing the words "alt" and "f4" doesnt deserve posting privileges and really needs to find some more up to date computer funnies.
Leave a comment:
-
Originally posted by metulj View Posteven if you disable right click...
still very very simple to get css properties...
------------------------------------------
as said many times... it is a total waste of time
securing css files/s...
if someone copy your style,
means you did solid one,
or at least someone is trying to learn some basics...
either way.. really nothing to worry aboutOriginally posted by djlee View PostYour wondering how stupid a thread is dicussing how to protect css (basically), then u suggest the one solution that NEVER has worked. Theres 100's of plugins that disable javascript on pages unless you allow them, and the source view is still available via the browser menu. So my comment still remains the only decent way to protect a piece of code that must be available in standard form to the browser and therefore the user is via obfuscation
Originally posted by djlee View Postnot a bad idea for protecting the css sub, but i doubt its worth it really. You would still very easily be able to copy and paste the css from the source, and if anything your hurting the site as the css wont be cached which means more bandwidth used (only affects high traffic sites i guess), longer page load times (as your sending more data) and generally not worth its salt.
But its given me an idea how we can protect css using a css filtering system. It wouldnt be easy for people to implement as they would have to change the display of their entire code but what im thinking is
1. create a translation table for the css
2. instead of using echo on each output line, concat all the output to a variable
3. pass the variable through the translation script to input the css inline with elements
4. echo the translated variable
while it would still not be cached, it would provide a hell of a lot more protection. Id go as far to say that someone would REALLY want to have you design as it would take ages to strip it all out. Maybe i'll throw up some example code for it when im not so busy, but i still say obfuscation is mostly sufficient enough to put 99% of people off.
i would say that who cares so much for his/her css really dont worth to be a coder.
Leave a comment:
-
not a bad idea for protecting the css sub, but i doubt its worth it really. You would still very easily be able to copy and paste the css from the source, and if anything your hurting the site as the css wont be cached which means more bandwidth used (only affects high traffic sites i guess), longer page load times (as your sending more data) and generally not worth its salt.
But its given me an idea how we can protect css using a css filtering system. It wouldnt be easy for people to implement as they would have to change the display of their entire code but what im thinking is
1. create a translation table for the css
2. instead of using echo on each output line, concat all the output to a variable
3. pass the variable through the translation script to input the css inline with elements
4. echo the translated variable
while it would still not be cached, it would provide a hell of a lot more protection. Id go as far to say that someone would REALLY want to have you design as it would take ages to strip it all out. Maybe i'll throw up some example code for it when im not so busy, but i still say obfuscation is mostly sufficient enough to put 99% of people off.
Leave a comment:
-
Here is mobilezonez style.css
Code:body { background-color : #000000; color : #000000; font-family : arial; font-size : medium; margin : 0; padding : 0; margin : 3px auto; max-width : 750px; margin-bottom : 3px; border : 1px solid #000000; } img.logo { margin-top : 1px; } a { color : #ffffff; } a.cat { color : #ffffff; } a.pro { color : #ffffff; } a.nav { color : #ffffff; } a:active, a:hover { color : #0000ff; text-decoration : underline; } .text { color : #ffffff; } .textbox { color : #ffffff; text-align : center; } .text_black { color : #000000; } .text_small { color : #ffffff; font-size : small; } .title { background-color : #8a9296; } .mainteaser { background-color : #000044; border : 2px groove blue; font-family : arial, verdana, ms sans serif; font-weight : bold; font-size : 8pt; margin : 0; border-top : 2px solid #0000aa; border-bottom : 2px solid #0000aa; } .mainteaser_text { background-color : #000044; color : #ecf0f1; text-align : center; padding : 2px; margin : 0; font-size : medium; font-weight : bold; } #inputText { background-color : #ffffff; color : #000000; border : 1px; } .alt2 { color : #ffffff; font-size : small; } p.c4 { text-align : center; } hr.c3 { color : blue; background-color : blue; height : 2px; border : none; } div.c2 { text-align : center; } p.c1 { text-align : right; } p.c3 { text-align : right; } input { background-color : black; border : 2px groove blue; color : green; font-family : arial, verdana, ms sans serif; font-weight : bold; font-size : 8pt; } input:hover { background-color : blue; color : red; border : 2px groove blue; font-family : arial, verdana, ms sans serif; font-weight : bold; font-size : 8pt; } button { border : 1px solid blue; background : #ccf; } button:hover { border : 1px solid blue; background : blue; } label { display : block; width : 150px; float : left; margin : 2px 4px 6px 4px; text-align : right; } br { clear : left; } inputtext { border : 2px groove blue; color : black; font-family : arial, verdana, ms sans serif; font-weight : bold; font-size : 8pt; }
Leave a comment:
-
Originally posted by ozziemale31 View Postnobody can steal my new style css for mobilezonez lol care to try ?????
Mobilezonez
I figured out how to protect css lol go me roflmao
background-color : #000000;
color : #000000;
font-family : arial;
font-size : medium;
margin : 0;
padding : 0;
margin : 3px auto;
max-width : 750px;
margin-bottom : 3px;
border : 1px solid #000000;
}
img.logo {
margin-top : 1px;
}
a {
color : #ffffff;
}
a.cat {
color : #ffffff;
}
a.pro {
color : #ffffff;
}
a.nav {
color : #ffffff;
}
a:active, a:hover {
color : #0000ff;
text-decoration : underline;
}
.text {
color : #ffffff;
}
.textbox {
color : #ffffff;
text-align : center;
}
.text_black {
color : #000000;
}
.text_small {
color : #ffffff;
font-size : small;
}
.title {
background-color : #8a9296;
}
.mainteaser {
background-color : #000044;
border : 2px groove blue;
font-family : arial, verdana, ms sans serif;
font-weight : bold;
font-size : 8pt;
margin : 0;
border-top : 2px solid #0000aa;
border-bottom : 2px solid #0000aa;
}
.mainteaser_text {
background-color : #000044;
color : #ecf0f1;
text-align : center;
padding : 2px;
margin : 0;
font-size : medium;
font-weight : bold;
}
#inputText {
background-color : #ffffff;
color : #000000;
border : 1px;
}
.alt2 {
color : #ffffff;
font-size : small;
}
p.c4 {
text-align : center;
}
hr.c3 {
color : blue;
background-color : blue;
height : 2px;
border : none;
}
div.c2 {
text-align : center;
}
p.c1 {
text-align : right;
}
p.c3 {
text-align : right;
}
input {
background-color : black;
border : 2px groove blue;
color : green;
font-family : arial, verdana, ms sans serif;
font-weight : bold;
font-size : 8pt;
}
input:hover {
background-color : blue;
color : red;
border : 2px groove blue;
font-family : arial, verdana, ms sans serif;
font-weight : bold;
font-size : 8pt;
}
button {
border : 1px solid blue;
background : #ccf;
}
button:hover {
border : 1px solid blue;
background : blue;
}
label {
display : block;
width : 150px;
float : left;
margin : 2px 4px 6px 4px;
text-align : right;
}
br {
clear : left;
}
inputtext {
border : 2px groove blue;
color : black;
font-family : arial, verdana, ms sans serif;
font-weight : bold;
font-size : 8pt;
} its not that hard to get some ones css...
Leave a comment:
-
PHP Code:<Files *.css>
Order deny,allow
deny from all
Allow from localhost
Allow from Your Domain
</Files>
RewriteEngine on
RewriteRule coreset.css coreset.php
session_start();
$_SESSION['csskey'] = "hello";
<?php
session_start();
header("Content-type: text/css");
if ($_SESSION["csskey"] != "hello") {
die("Protected");
}
$_SESSION["csskey"] = "somethingelse";
?>
<?php
require_once("2pac.css");
?>
EasyLast edited by subzero; 09.05.10, 13:50.
Leave a comment:
-
Originally posted by ksg91 View Postwtf guys! are you discussion to protect css! how stupid it is to save our css from others! css isnt a big deal.
ok well, if discussion is going so let me suggest something. you may disable right click on the page using javascript so an ordinary user wont be able to see your html/css source.
Leave a comment:
Leave a comment: