Re: Proteccion de páginas

From: Date: Fri, 07 Feb 2003 13:29:50 +0000
Subject: Re: Proteccion de páginas
References: 1 2 3  Groups: php.general.es 
Request: Send a blank email to general-es+get-32114@lists.php.net to get a copy of this message
Idea : para evitar los programas que "bajan" todo el sitio, ¿sería conveniente crear un script y que a través de parámetros de sesión se verifique que el intervalo de petición entre una página y otra sea "humanamente" razonable? O sea, una persona se demora 2 a 5 segundos en ver una página y querer otra.... en cambio un programa envía peticiones en menos de 1 segundo abriendo varias conexiones para bajar todo el contenido... si se detecta que durante 10 segundos y de acuerdo a los parámetros es un programa el que está revisando las páginas simplemente se envían mensajes de error.... ¿Será conveniente o muy lento? Saludos, Patricio Vera ----- Original Message ----- From: "Alphacom" <webmaster@alphacom.es> To: <lista@phpes.com> Sent: Friday, February 07, 2003 3:46 AM Subject: Re: [PHP-ES] Proteccion de páginas > Yo la unica solucion que he conseguido y ya te digo no es ni mucho menos > infalible pero si te protege de los tipicos lammers tocawebs,es primero un > javascript que te inhabilite el boton derecho del mouse y que te inhabilite la > teclas de acceso rapido (crtl+u para netscape...) > <SCRIPT language="JavaScript" type="text/JavaScript"> > <!-- > function click(e){if (document.all) if (event.button == 2) return false;if > (document.layers) if (e.which == 3) return false;} > function click2(){event.returnValue=false;return false;}if (document.layers) > document.captureEvents(Event.MOUSEDOWN);document.onmousedown=click;document. oncontextmenu=click2; > > function init() { > document.onkeydown = keyDown > } > function keyDown(e) { > var ieKey = window.event.keyCode > if (window.event.altKey && ieKey=="115" || window.event.altKey || ieKey=="115" > || ieKey=="122") { > alert("Para abandonar la página por favor pulsa en CERRAR SESION"); > } > window.event.returnValue=false > } > //--> > </SCRIPT> > Despues y solo sirve en iexplorer al tag <body> le añades lo siguiente > oncontextmenu="return false" ondragstart="return false" onselectstart="return > false", lo que hace esto es que no deja ni que parezca el menu , ni arrastar > las fotografias, ni seleccionar el texto. > Y claro lo ideal es que las páginas no tengan visible el menu de archivo, > edición, por lo que deberas tener el index y los links de este abrirlos en > ventanas nuevas ( window.open("URL","Nombre","toolbar=no,....") > En definitiva te condiciona mucho el diseño de la página y como bien dicen en > el foro no hay nada infalible para que te puedan copiar la página. > > Webmaster Comercio Electrónico ha escrito: > > > En la sigueinte pag hay algunos posibles scripts que pueden ayudar un poco > > > > http://www.dynamicdrive.com/dynamicindex9/index.html > > > > No right click script > > > > <http://www.dynamicdrive.com/dynamicindex9/noright.htm> All > > NS6! > > -User Submitted > > This is a DHTML script that will prevent the default right menu from > > popping up when the right mouse is clicked on the web page. Use it to > > stop surfers from easily saving your web page, viewing its source, or > > lifting images off your site when using either IE 4+ or NS 4+. > > Definitely useful for many site owners... > > > > No right click script II (on images) > > > > <http://www.dynamicdrive.com/dynamicindex9/noright2.htm> All > > NS6! > > This alternate version of the no right click script targets only images, > > so right clicking is diabled only when attempting to save an image on > > the page. > > > > No right click script III (no alert) > > > > <http://www.dynamicdrive.com/dynamicindex9/noright3.htm> All > > NS6! > > <http://www.dynamicdrive.com/update.gif> > > -User Submitted > > A "silent" no right click script that disables right clicking on the > > page while NOT alerting any message. > > > > No select text script > > > > <http://www.dynamicdrive.com/dynamicindex9/noselect.htm> IE > > NS6! > > -User Submitted > > Disable viewers' ability to select text on your page, by installing this > > script. With it, dragging the mouse over text has no effect. > > > > Encrypted Password > > > > <http://www.dynamicdrive.com/dynamicindex9/password.htm> All > > NS6! > > Password protect your webpage with this encrypted password script! > > > > Message encrypter > > > > <http://www.dynamicdrive.com/dynamicindex9/msgencrypter.htm> > > All NS6! > > <http://www.dynamicdrive.com/new.gif> > > This script scrambles regular text into encoded form using your selected > > "key." Recipients must then possess the key to be able to decipher the > > message. Great fun, with one practical use to send out encrypted emails > > to your friends. > > > > Source Code Encrypter > > > > <http://www.dynamicdrive.com/dynamicindex9/encrypter.htm> All > > NS6! > > Scramble the source of any chunk of code, or the entire webpage, using > > this creative script. The encrypted code will still be interpreted > > properly by the browser, just difficult for us humans to read. > > > > A parte encontre algunas ligas de interes (nada es confirmado) > > http://www.antssoft.com/htmlprotector/index.htm?ref=google > > HTMLProtector - Protect Web Page Source Code > > http://www.aw-soft.com/htmlguard.html HTML Guard > > 2.2 > > > > --------------------------------------------------------------------- > Archivo On-line: http://www.phpes.com/ > via news: news://news.phpes.com/ > Manual PHP en español: http://www.php.net/manual/es/ > Para dar de baja la suscripción, mande un mensaje a: > lista-unsubscribe@phpes.com ___________________________________________________ Yahoo! Móviles Personaliza tu móvil con tu logo y melodía favorito en http://moviles.yahoo.es

« previous php.general.es (#32114) next »