Как да си защитя CSS файла от крадене?

Браузерът на потребителят за да "знае" какво да покаже трябва да дръпне CSS файла и да го прочете.
След като потребителят (браузерът) вече е свалил въпросният CSS файл на своя комп ти няма как да го защитиш.
HTML код, Картинки, CSS, JS и други подобни не могат да се защитят защото така работот браузерите.
За да ти покажат нещо то трябва вече да е на компа ти.
Надявам се да си разбрал, че няма начин точно CSS файла да го защитиш тъй като има поне 5 различни добавки за firefox, които могат да ти дадат CSS стила за всеки един обект по отделно стига само да го селектираш.
 
body {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
background-attachment:scroll;
background-color:#EEEEEE;
background-image:url("http://cspromod-bg.info/templates/original/images/background.png");
background-position:0 0;
background-repeat:repeat-x;
font-family:Tahoma;
font-size:12px;
margin-bottom:0;
margin-left:0;
margin-right:0;
margin-top:0;
padding-bottom:0;
padding-left:0;
padding-right:0;
padding-top:0;
}
img {
border-bottom-color:-moz-use-text-color;
border-bottom-style:none;
border-bottom-width:0;
border-left-color-ltr-source:physical;
border-left-color-rtl-source:physical;
border-left-color-value:-moz-use-text-color;
border-left-style-ltr-source:physical;
border-left-style-rtl-source:physical;
border-left-style-value:none;
border-left-width-ltr-source:physical;
border-left-width-rtl-source:physical;
border-left-width-value:0;
border-right-color-ltr-source:physical;
border-right-color-rtl-source:physical;
border-right-color-value:-moz-use-text-color;
border-right-style-ltr-source:physical;
border-right-style-rtl-source:physical;
border-right-style-value:none;
border-right-width-ltr-source:physical;
border-right-width-rtl-source:physical;
border-right-width-value:0;
border-top-color:-moz-use-text-color;
border-top-style:none;
border-top-width:0;
}
a {
color:#6C6C6C;
text-decoration:none;
}
a:focus {
outline-color:-moz-use-text-color;
outline-style:none;
outline-width:medium;
}
a:hover {
color:#828282;
text-decoration:none;
}
h3.site {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
background-attachment:scroll;
background-color:transparent;
background-image:url("http://cspromod-bg.info/templates/original/images/h3.png");
background-position:0 6px;
background-repeat:no-repeat;
color:#008000;
font-family:Verdana;
margin-bottom:0;
margin-left:0;
margin-right:0;
margin-top:0;
padding-bottom:5px;
padding-left:12px;
}
h4.site {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
background-attachment:scroll;
background-color:transparent;
background-image:url("http://cspromod-bg.info/templates/original/images/h4.png");
background-position:0 0;
background-repeat:no-repeat;
color:#FFFFFF;
font-family:Verdana;
height:24px;
margin-bottom:0;
margin-left:0;
margin-right:0;
margin-top:0;
padding-left:35px;
padding-top:9px;
width:938px;
}
a.site_link {
color:#ECECEC;
font-family:Verdana;
}
a.site_link:hover {
color:#DFDFDF;
font-family:Verdana;
}
ul {
margin-bottom:0;
margin-left:0;
margin-right:0;
margin-top:0;
padding-left:20px;
}
ol {
margin-bottom:0;
margin-left:0;
margin-right:0;
margin-top:0;
padding-left:20px;
}
li {
margin-bottom:0;
margin-left:0;
margin-right:0;
margin-top:0;
padding-bottom:0;
padding-left:0;
padding-right:0;
padding-top:0;
}
table td tr {
border-bottom-color:-moz-use-text-color;
border-bottom-style:none;
border-bottom-width:0;
border-left-color-ltr-source:physical;
border-left-color-rtl-source:physical;
border-left-color-value:-moz-use-text-color;
border-left-style-ltr-source:physical;
border-left-style-rtl-source:physical;
border-left-style-value:none;
border-left-width-ltr-source:physical;
border-left-width-rtl-source:physical;
border-left-width-value:0;
border-right-color-ltr-source:physical;
border-right-color-rtl-source:physical;
border-right-color-value:-moz-use-text-color;
border-right-style-ltr-source:physical;
border-right-style-rtl-source:physical;
border-right-style-value:none;
border-right-width-ltr-source:physical;
border-right-width-rtl-source:physical;
border-right-width-value:0;
border-top-color:-moz-use-text-color;
border-top-style:none;
border-top-width:0;
}
#csp_site {
text-align:left;
width:960px;
}
#csp_line {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
background-attachment:scroll;
background-color:transparent;
background-image:url("http://cspromod-bg.info/templates/original/images/csp_line.png");
background-position:0 0;
background-repeat:no-repeat;
height:29px;
padding-left:10px;
padding-right:10px;
width:940px;
}
#csp_content {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
background-attachment:scroll;
background-color:#EAEAEA;
background-image:none;
background-position:0 0;
background-repeat:repeat;
border-bottom-color:#DCDCDC;
border-bottom-style:solid;
border-bottom-width:1px;
border-left-color-ltr-source:physical;
border-left-color-rtl-source:physical;
border-left-color-value:#DCDCDC;
border-left-style-ltr-source:physical;
border-left-style-rtl-source:physical;
border-left-style-value:solid;
border-left-width-ltr-source:physical;
border-left-width-rtl-source:physical;
border-left-width-value:1px;
border-right-color-ltr-source:physical;
border-right-color-rtl-source:physical;
border-right-color-value:#DCDCDC;
border-right-style-ltr-source:physical;
border-right-style-rtl-source:physical;
border-right-style-value:solid;
border-right-width-ltr-source:physical;
border-right-width-rtl-source:physical;
border-right-width-value:1px;
border-top-color:#DCDCDC;
border-top-style:solid;
border-top-width:1px;
padding-bottom:10px;
padding-left:10px;
padding-right:10px;
padding-top:10px;
}
#csp_site_footer {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
background-attachment:scroll;
background-color:#666666;
background-image:none;
background-position:0 0;
background-repeat:repeat;
height:64px;
}
#csp_footer {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
background-attachment:scroll;
background-color:transparent;
background-image:url("http://cspromod-bg.info/templates/original/images/csp_footer.png");
background-position:0 0;
background-repeat:no-repeat;
color:#B3B3B3;
font-family:Tahoma;
font-size:12px;
height:47px;
margin-bottom:0;
margin-left:auto;
margin-right:auto;
margin-top:0;
padding-left:70px;
padding-top:17px;
text-align:left;
width:890px;
}
#csp_footer a {
border-bottom-color:#B3B3B3;
border-bottom-style:dotted;
border-bottom-width:1px;
color:#B3B3B3;
text-decoration:none;
}
.clear {
clear:both;
}
.csp_navigation {
float:left;
font-size:14px;
line-height:29px;
width:960px;
}
.csp_navigation a {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
background-attachment:scroll;
background-color:transparent;
background-image:url("http://cspromod-bg.info/templates/original/images/csp_navigation_normal.png");
background-position:0 0;
background-repeat:repeat-x;
color:#FFFFFF;
display:block;
float:left;
font-weight:bold;
margin-right:1px;
padding-left:10px;
padding-right:10px;
text-decoration:none;
}
.csp_navigation a:hover {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
background-attachment:scroll;
background-color:transparent;
background-image:url("http://cspromod-bg.info/templates/original/images/csp_navigation_hover.png");
background-position:0 0;
background-repeat:repeat-x;
color:#FFFFFF;
font-weight:bold;
}
.csp_hotfix {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
background-attachment:scroll;
background-color:transparent;
background-image:url("http://cspromod-bg.info/templates/original/images/csp_download_patch.png");
background-position:0 0;
background-repeat:no-repeat;
height:30px;
padding-left:35px;
padding-top:2px;
}
.csp_fullversion {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
background-attachment:scroll;
background-color:transparent;
background-image:url("http://cspromod-bg.info/templates/original/images/csp_download_installer.png");
background-position:0 0;
background-repeat:no-repeat;
height:30px;
padding-left:35px;
padding-top:2px;
}
.csp_fullversion_linux {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
background-attachment:scroll;
background-color:transparent;
background-image:url("http://cspromod-bg.info/templates/original/images/csp_download_linux.png");
background-position:0 0;
background-repeat:no-repeat;
height:30px;
padding-left:35px;
padding-top:2px;
}
.h4 {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
-moz-border-radius-bottomleft:3px;
-moz-border-radius-bottomright:3px;
background-attachment:scroll;
background-color:#E2E2E2;
background-image:none;
background-position:0 0;
background-repeat:repeat;
padding-bottom:10px;
padding-left:10px;
padding-right:10px;
padding-top:10px;
}
.csp_title {
height:20px;
padding-bottom:4px;
padding-left:4px;
padding-right:4px;
padding-top:4px;
}
.csp_title_line {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
background-attachment:scroll;
background-color:#CFCFCF;
background-image:none;
background-position:0 0;
background-repeat:repeat;
}
.csp_title_1 {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
background-attachment:scroll;
background-color:#E5E5E5;
background-image:none;
background-position:0 0;
background-repeat:repeat;
}
.csp_title_2 {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
background-attachment:scroll;
background-color:#DDDDDD;
background-image:none;
background-position:0 0;
background-repeat:repeat;
}
.msg_info {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
-moz-border-radius-bottomleft:3px;
-moz-border-radius-bottomright:3px;
-moz-border-radius-topleft:3px;
-moz-border-radius-topright:3px;
background-attachment:scroll;
background-color:#FAFDFF;
background-image:url("http://cspromod-bg.info/templates/original/images/msg_info.png");
background-position:5px 50%;
background-repeat:no-repeat;
border-bottom-color:#C2D1DF;
border-bottom-style:solid;
border-bottom-width:1px;
border-left-color-ltr-source:physical;
border-left-color-rtl-source:physical;
border-left-color-value:#C2D1DF;
border-left-style-ltr-source:physical;
border-left-style-rtl-source:physical;
border-left-style-value:solid;
border-left-width-ltr-source:physical;
border-left-width-rtl-source:physical;
border-left-width-value:1px;
border-right-color-ltr-source:physical;
border-right-color-rtl-source:physical;
border-right-color-value:#C2D1DF;
border-right-style-ltr-source:physical;
border-right-style-rtl-source:physical;
border-right-style-value:solid;
border-right-width-ltr-source:physical;
border-right-width-rtl-source:physical;
border-right-width-value:1px;
border-top-color:#C2D1DF;
border-top-style:solid;
border-top-width:1px;
font-family:Tahoma;
font-size:12px;
font-weight:normal;
margin-bottom:5px;
padding-bottom:5px;
padding-left:25px;
padding-right:5px;
padding-top:5px;
}
.msg_accept {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
-moz-border-radius-bottomleft:3px;
-moz-border-radius-bottomright:3px;
-moz-border-radius-topleft:3px;
-moz-border-radius-topright:3px;
background-attachment:scroll;
background-color:#E5F4D6;
background-image:url("http://cspromod-bg.info/templates/original/images/msg_accept.png");
background-position:5px 50%;
background-repeat:no-repeat;
border-bottom-color:#C3DCA9;
border-bottom-style:solid;
border-bottom-width:1px;
border-left-color-ltr-source:physical;
border-left-color-rtl-source:physical;
border-left-color-value:#C3DCA9;
border-left-style-ltr-source:physical;
border-left-style-rtl-source:physical;
border-left-style-value:solid;
border-left-width-ltr-source:physical;
border-left-width-rtl-source:physical;
border-left-width-value:1px;
border-right-color-ltr-source:physical;
border-right-color-rtl-source:physical;
border-right-color-value:#C3DCA9;
border-right-style-ltr-source:physical;
border-right-style-rtl-source:physical;
border-right-style-value:solid;
border-right-width-ltr-source:physical;
border-right-width-rtl-source:physical;
border-right-width-value:1px;
border-top-color:#C3DCA9;
border-top-style:solid;
border-top-width:1px;
font-family:Tahoma;
font-size:12px;
font-weight:normal;
margin-bottom:5px;
padding-bottom:5px;
padding-left:25px;
padding-right:5px;
padding-top:5px;
}
.msg_warn {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
-moz-border-radius-bottomleft:3px;
-moz-border-radius-bottomright:3px;
-moz-border-radius-topleft:3px;
-moz-border-radius-topright:3px;
background-attachment:scroll;
background-color:#FFFBCC;
background-image:url("http://cspromod-bg.info/templates/original/images/msg_warn.png");
background-position:5px 50%;
background-repeat:no-repeat;
border-bottom-color:#E6DB55;
border-bottom-style:solid;
border-bottom-width:1px;
border-left-color-ltr-source:physical;
border-left-color-rtl-source:physical;
border-left-color-value:#E6DB55;
border-left-style-ltr-source:physical;
border-left-style-rtl-source:physical;
border-left-style-value:solid;
border-left-width-ltr-source:physical;
border-left-width-rtl-source:physical;
border-left-width-value:1px;
border-right-color-ltr-source:physical;
border-right-color-rtl-source:physical;
border-right-color-value:#E6DB55;
border-right-style-ltr-source:physical;
border-right-style-rtl-source:physical;
border-right-style-value:solid;
border-right-width-ltr-source:physical;
border-right-width-rtl-source:physical;
border-right-width-value:1px;
border-top-color:#E6DB55;
border-top-style:solid;
border-top-width:1px;
font-family:Tahoma;
font-size:12px;
font-weight:normal;
margin-bottom:5px;
padding-bottom:5px;
padding-left:25px;
padding-right:5px;
padding-top:5px;
}
.msg_error {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
-moz-border-radius-bottomleft:3px;
-moz-border-radius-bottomright:3px;
-moz-border-radius-topleft:3px;
-moz-border-radius-topright:3px;
background-attachment:scroll;
background-color:#E7BABA;
background-image:url("http://cspromod-bg.info/templates/original/images/msg_error.png");
background-position:5px 50%;
background-repeat:no-repeat;
border-bottom-color:#CA6666;
border-bottom-style:solid;
border-bottom-width:1px;
border-left-color-ltr-source:physical;
border-left-color-rtl-source:physical;
border-left-color-value:#CA6666;
border-left-style-ltr-source:physical;
border-left-style-rtl-source:physical;
border-left-style-value:solid;
border-left-width-ltr-source:physical;
border-left-width-rtl-source:physical;
border-left-width-value:1px;
border-right-color-ltr-source:physical;
border-right-color-rtl-source:physical;
border-right-color-value:#CA6666;
border-right-style-ltr-source:physical;
border-right-style-rtl-source:physical;
border-right-style-value:solid;
border-right-width-ltr-source:physical;
border-right-width-rtl-source:physical;
border-right-width-value:1px;
border-top-color:#CA6666;
border-top-style:solid;
border-top-width:1px;
font-family:Tahoma;
font-size:12px;
font-weight:normal;
margin-bottom:5px;
padding-bottom:5px;
padding-left:25px;
padding-right:5px;
padding-top:5px;
}
.msg_cspromod {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
-moz-border-radius-bottomleft:3px;
-moz-border-radius-bottomright:3px;
-moz-border-radius-topleft:3px;
-moz-border-radius-topright:3px;
background-attachment:scroll;
background-color:#F6DEB7;
background-image:url("http://cspromod-bg.info/templates/original/images/icon_cspromod_1.png");
background-position:5px 50%;
background-repeat:no-repeat;
border-bottom-color:#D9C6A8;
border-bottom-style:solid;
border-bottom-width:1px;
border-left-color-ltr-source:physical;
border-left-color-rtl-source:physical;
border-left-color-value:#D9C6A8;
border-left-style-ltr-source:physical;
border-left-style-rtl-source:physical;
border-left-style-value:solid;
border-left-width-ltr-source:physical;
border-left-width-rtl-source:physical;
border-left-width-value:1px;
border-right-color-ltr-source:physical;
border-right-color-rtl-source:physical;
border-right-color-value:#D9C6A8;
border-right-style-ltr-source:physical;
border-right-style-rtl-source:physical;
border-right-style-value:solid;
border-right-width-ltr-source:physical;
border-right-width-rtl-source:physical;
border-right-width-value:1px;
border-top-color:#D9C6A8;
border-top-style:solid;
border-top-width:1px;
font-family:Tahoma;
font-size:12px;
font-weight:normal;
margin-bottom:5px;
padding-bottom:5px;
padding-left:25px;
padding-right:5px;
padding-top:5px;
}
.msg_cspromod_nonofficial {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
-moz-border-radius-bottomleft:3px;
-moz-border-radius-bottomright:3px;
-moz-border-radius-topleft:3px;
-moz-border-radius-topright:3px;
background-attachment:scroll;
background-color:#F6DEB7;
background-image:url("http://cspromod-bg.info/templates/original/images/icon_cspromod_3.png");
background-position:5px 50%;
background-repeat:no-repeat;
border-bottom-color:#D9C6A8;
border-bottom-style:solid;
border-bottom-width:1px;
border-left-color-ltr-source:physical;
border-left-color-rtl-source:physical;
border-left-color-value:#D9C6A8;
border-left-style-ltr-source:physical;
border-left-style-rtl-source:physical;
border-left-style-value:solid;
border-left-width-ltr-source:physical;
border-left-width-rtl-source:physical;
border-left-width-value:1px;
border-right-color-ltr-source:physical;
border-right-color-rtl-source:physical;
border-right-color-value:#D9C6A8;
border-right-style-ltr-source:physical;
border-right-style-rtl-source:physical;
border-right-style-value:solid;
border-right-width-ltr-source:physical;
border-right-width-rtl-source:physical;
border-right-width-value:1px;
border-top-color:#D9C6A8;
border-top-style:solid;
border-top-width:1px;
font-family:Tahoma;
font-size:12px;
font-weight:normal;
margin-bottom:5px;
padding-bottom:5px;
padding-left:25px;
padding-right:5px;
padding-top:5px;
}
.csp_maps_comment_up {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
background-attachment:scroll;
background-color:transparent;
background-image:url("http://cspromod-bg.info/templates/original/images/csp_maps_comments_up.png");
background-position:0 0;
background-repeat:repeat-x;
color:#FFFFFF;
height:18px;
padding-left:4px;
padding-top:4px;
width:914px;
}
.csp_maps_comment_1 {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
-moz-border-radius-bottomleft:3px;
-moz-border-radius-bottomright:3px;
background-attachment:scroll;
background-color:#E7E7E7;
background-image:none;
background-position:0 0;
background-repeat:repeat;
padding-bottom:10px;
padding-left:10px;
padding-right:10px;
padding-top:10px;
}
.csp_maps_comment_2 {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
-moz-border-radius-bottomleft:3px;
-moz-border-radius-bottomright:3px;
background-attachment:scroll;
background-color:#ECECEC;
background-image:none;
background-position:0 0;
background-repeat:repeat;
padding-bottom:10px;
padding-left:10px;
padding-right:10px;
padding-top:10px;
}
.csp_map_thumbnail {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
background-attachment:scroll;
background-color:#E7E7E7;
background-image:none;
background-position:0 0;
background-repeat:repeat;
border-bottom-color:#CFCFCF;
border-bottom-style:solid;
border-bottom-width:1px;
border-left-color-ltr-source:physical;
border-left-color-rtl-source:physical;
border-left-color-value:#CFCFCF;
border-left-style-ltr-source:physical;
border-left-style-rtl-source:physical;
border-left-style-value:solid;
border-left-width-ltr-source:physical;
border-left-width-rtl-source:physical;
border-left-width-value:1px;
border-right-color-ltr-source:physical;
border-right-color-rtl-source:physical;
border-right-color-value:#CFCFCF;
border-right-style-ltr-source:physical;
border-right-style-rtl-source:physical;
border-right-style-value:solid;
border-right-width-ltr-source:physical;
border-right-width-rtl-source:physical;
border-right-width-value:1px;
border-top-color:#CFCFCF;
border-top-style:solid;
border-top-width:1px;
margin-bottom:1px;
margin-left:1px;
margin-right:1px;
margin-top:1px;
padding-bottom:1px;
padding-left:1px;
padding-right:1px;
padding-top:1px;
}
.csp_map_thumbnail:hover {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
background-attachment:scroll;
background-color:#ECECEC;
background-image:none;
background-position:0 0;
background-repeat:repeat;
border-bottom-color:#CFCFCF;
border-bottom-style:solid;
border-bottom-width:1px;
border-left-color-ltr-source:physical;
border-left-color-rtl-source:physical;
border-left-color-value:#CFCFCF;
border-left-style-ltr-source:physical;
border-left-style-rtl-source:physical;
border-left-style-value:solid;
border-left-width-ltr-source:physical;
border-left-width-rtl-source:physical;
border-left-width-value:1px;
border-right-color-ltr-source:physical;
border-right-color-rtl-source:physical;
border-right-color-value:#CFCFCF;
border-right-style-ltr-source:physical;
border-right-style-rtl-source:physical;
border-right-style-value:solid;
border-right-width-ltr-source:physical;
border-right-width-rtl-source:physical;
border-right-width-value:1px;
border-top-color:#CFCFCF;
border-top-style:solid;
border-top-width:1px;
margin-bottom:1px;
margin-left:1px;
margin-right:1px;
margin-top:1px;
padding-bottom:1px;
padding-left:1px;
padding-right:1px;
padding-top:1px;
}
 
Код:
ody { background: url(http://cspromod-bg.info/templates/original/images/background.png) repeat-x #eeeeee; font-family: Tahoma; font-size: 12px; margin: 0; padding: 0; }
img { border: 0; }
a { color: #6c6c6c; text-decoration: none; }
a:focus { outline: none; }
a:hover { color: #828282; text-decoration: none; }
h3.site { background: url(http://cspromod-bg.info/templates/original/images/h3.png) 0 6px no-repeat; color: #008000; padding-left: 12px; padding-bottom: 5px; margin: 0; font-family: Verdana; }
...
За 10 секунди им стигнах до css файла.
Просто не разчитайте на подобни методи.
Както ви каза админ, няма начин да защитиш нито HTML кода, нито CSS кода.
Невъзможно е. Малко по-разбиращите потребители ако искат ще си го вземат. :)
Между другото, тук в уроците съм гледал няколко за защита на CSS файла, които разбира се защитават посредствено. :)
Най-вероятно дори този сайт го е взел от тук. :P
 
Само да кажа на тези които не знаят.
Аз няма нужда да крада нечии CSS но ако ми потрябва от даден сайт стил аз просто посочвам елемента и firebug ми казва какъв е стила.
ПАк с firebug мога директно да си видя целия файл и дори да го редактирам.
Може да се защити само срещу хора които бъкел не се занимават с web програмиране, но пък какъв е смисълът да го криеш от тях.
 
admin каза:
има поне 5 различни добавки за firefox, които могат да ти дадат CSS стила за всеки един обект по отделно стига само да го селектираш.

влезни с мозилата и виж че нищо не са защитили иначе за целия файл не знам точно как са го направили но същия ефект ще има ако си го сложиш в отделна папка и защитиш нея :)
 
Ако държиш точно на техния метод, ето го:

Embedded Styles from http://cspromod-bg.info/

http://cspromod-bg.info/style.css

http://cspromod-bg.info/box.css

@import - Using the CSS @import Rule


http://www.cssnewbie.com/css-import-rule/
 
Има вариант да се скриват CSS файловете. Просто описваш в .httpacces файла да не се показват CSS. При зареждане на файла <link> тага е скрит и при преглед на сорса не се вижда
 
Здравейте, видях от брояча на CSPromod-BG.Info, че се интересувате от моят CSS код и реших да пиша в темата.

1. Не съм гледал уроци от тук за направата на подобна защита на CSS кода.
2. signboard, не е това метода. Това е метода за импотиране на файла със стила, това не влияе на крайния резултат.
3. teroristd, защитата работи под всеки един вид уеб браузър.
4. admin, би ли премахнал кода и начина, чрез който се гледа, ако обичаш? Не случайно съм го скрил :).
 
помня че пак така правеха вместо .цсс на .пхп ма просто няма начин да си го защитиш... току що на тоя цсс файл на промод само си пуснах Developer Tools на Google Chrome и директно си ми го показа...
 
само да ви кажа не си правете труда да си защитавате файловете, защото ако не сте чували за програми като: Web Extractor и т.н., който при даване на линк (примерно http://sait.com/) и той сваля целия сайт със всички файлове в хостинга

Така че не си правете труда :( :(
 
Lambenstein каза:
само да ви кажа не си правете труда да си защитавате файловете, защото ако не сте чували за програми като: Web Extractor и т.н., който при даване на линк (примерно http://sait.com/) и той сваля целия сайт със всички файлове в хостинга

Така че не си правете труда :( :(
Файлове в хостинга?
Я пробвай на този сайт да свалиш файловете и пиши, като имаш резултат... :lol:
 
кой сайт??????????
а и аз нямам програмата просто са ми казвали за нея
Edit:
ето ти сайта за да си го изтеглиш и да пробваш Цък
пробвай да си свалиш някой файлове от сайта си
 

Back
Горе