Re: Proteggere tutti i file di una cartella
Giovanni Ferrarese <[email protected]> Wed, 4 Dec 2013 17:28:06 +0100
| Newsgroups | gmane.comp.cms.cold-fusion.devel.italian |
|---|---|
| Message-ID | <CA+CeChtPeFwxYV8wr5wqCGbQo5ueJ+pqecxPSWTfFaSYs7BmLA@mail.gmail.com> |
--047d7b33c6bce0389e04ecb7e5f9 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Grazie della risposta. Devono essere accessibili da http. Cio=E8: io ho un' area riservata a cui si accede tramite login e password. In questa cartella ci sono anche contenuti statici, oltre a cfm. Ma tutti questi contenuti possono essere visti solo da chi si fa il login. Se c'=E8 una immagine basta che ci scrivo l'url ed evito il controllo. Questo non deve accadere. Grazie Il giorno 04 dicembre 2013 17:16, Cristian Costantini < [email protected]> ha scritto: > > > Ciao, > > cosa devi fare? > Se vuoi non renderli accessibili da http puoi tenerli fuori dalla wwwroot > senza tante configurazioni > > c:\wwwroot|sito > c:\files\sito > > Cristian > > Il giorno 04/dic/2013, alle ore 16.44, giovanni.ferrarese ha scritto: > > > > Salve > avrei bisogno di proteggere tutti i file di una cartella in accordo con i= l > file application.cfm. Cio=E8 non solo i file cfm, ma anche immagini, pdf, > ecc.. > Ho provato con delle modifiche al file web.xml, senza successo. > Ho windows server 2008 e Coldfusion 9. > > Grazie > Giovanni > > >=20=20 > --047d7b33c6bce0389e04ecb7e5f9 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <head> <style type=3D"text/css"> <!-- /* start of attachment style */ .ygrp-photo-title{ clear: both; font-size: smaller; height: 15px; overflow: hidden; text-align: center; width: 75px; } div.ygrp-photo{ background-position: center; background-repeat: no-repeat; background-color: white; border: 1px solid black; height: 62px; width: 62px; } div.photo-title=20 a, div.photo-title a:active, div.photo-title a:hover, div.photo-title a:visited { text-decoration: none;=20 } div.attach-table div.attach-row { clear: both; } div.attach-table div.attach-row div { float: left; /* margin: 2px;*/ } p { clear: both; padding: 15px 0 3px 0; overflow: hidden; } div.ygrp-file { width: 30px; valign: middle; } div.attach-table div.attach-row div div a { text-decoration: none; } div.attach-table div.attach-row div div span { font-weight: normal; } div.ygrp-file-title { font-weight: bold; } /* end of attachment style */ --> </style> </head> <html> <head> <style type=3D"text/css"> <!-- #ygrp-mkp { border: 1px solid #d8d8d8; font-family: Arial; margin: 10px 0; padding: 0 10px; } #ygrp-mkp hr { border: 1px solid #d8d8d8; } #ygrp-mkp #hd { color: #628c2a; font-size: 85%; font-weight: 700; line-height: 122%; margin: 10px 0; } #ygrp-mkp #ads { margin-bottom: 10px; } #ygrp-mkp .ad { padding: 0 0; } #ygrp-mkp .ad p { margin: 0; } #ygrp-mkp .ad a { color: #0000ff; text-decoration: none; } --> </style> </head> <body> <!-- |**|begin egp html banner|**| --> <br><br> <!-- |**|end egp html banner|**| --> <div dir=3D"ltr">Grazie della risposta.<div>Devono essere accessibili da ht= tp.<div>Cio=E8: io ho un' area riservata a cui si accede tramite login = e password.</div><div>In questa cartella ci sono anche contenuti statici, o= ltre a cfm.=A0</div> </div><div>Ma tutti questi contenuti possono essere visti solo da chi si fa= il login. Se c'=E8 una immagine basta che ci scrivo l'url ed evito= il controllo.</div><div>Questo non deve accadere.</div><div>Grazie</div> <div><br></div><div><br></div><div><br></div></div><div class=3D"gmail_extr= a"><br><br><div class=3D"gmail_quote">Il giorno 04 dicembre 2013 17:16, Cri= stian Costantini <span dir=3D"ltr"><<a href=3D"mailto:cristian@millemult= imedia.it" target=3D"_blank">[email protected]</a>></span> ha = scritto:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <u></u> <div style> <span>=A0</span> <div> <div> <div> =20=20=20=20=20=20 =20=20=20=20=20=20 <p>Ciao,</p><div><br></div><div>cosa devi fare?</div><div>Se vuoi non= renderli accessibili da http puoi tenerli fuori dalla wwwroot senza tante = configurazioni</div><div><br></div><div>c:\wwwroot|sito</div><div>c:\files\= sito</div> <div><br></div><div>Cristian<br> <br><div><div>Il giorno 04/dic/2013, alle ore 16.44, giovanni.ferrarese ha = scritto:</div><div class=3D"im"><br><blockquote type=3D"cite"> <div style> <span>=A0</span> <div><p>Salve<br> avrei bisogno di proteggere tutti i file di una cartella in accordo con il = file application.cfm. Cio=E8 non solo i file cfm, ma anche immagini, pdf, e= cc..<br> Ho provato con delle modifiche al file web.xml, senza successo.<br> Ho windows server 2008 e Coldfusion 9.<br> <br> Grazie<br> Giovanni<br> <br> </p> </div> =20=20=20=20=20 =20=20=20=20 </div> </blockquote></div></div><br></div><p></p> </div> =20=20=20=20=20 =20=20=20=20 <div style=3D"color:#fff;min-height:0"></div> </div> =20=20 </blockquote></div><br></div> <!-- |**|begin egp html banner|**| --> <br> <br> <!-- |**|end egp html banner|**| --> <div width=3D"1" style=3D"color: white; clear: both;"/>__._,_.___</div> =20=20=20=20=20=20 =20=20=20=20=20=20 <!-- Start Recommendations --> <!-- End Recommendations --> <!-- |**|begin egp html banner|**| --> <br><br> <tt> CFMentor<BR> <a href=3D"http://www.cfmentor.com">http://www.cfmentor.com</a></tt> <br><br> <!-- |**|end egp html banner|**| --> <!-- |**|begin egp html banner|**| --> <img src=3D"http://geo.yahoo.com/serv?s=3D97490485/grpId=3D170861/grpspId= =3D559000199/msgId=3D41843/stime=3D1386174487" width=3D"1" height=3D"1"> <b= r> <!-- |**|end egp html banner|**| --> =20=20 <!-- |**|begin egp html banner|**| --> <br> <div style=3D"font-family: verdana; font-size: 77%; border-top: 1px s= olid #666; padding: 5px 0;" > Le tue impostazioni email: Email singoli|Tradizionali <br> <a href=3D"http://it.groups.yahoo.com/group/cfmentor/join;_ylc=3DX3oD= MTJkNmEzbmlyBF9TAzk3NDkwNDg1BGdycElkAzE3MDg2MQRncnBzcElkAzU1OTAwMDE5OQRzZWM= DZnRyBHNsawNzdG5ncwRzdGltZQMxMzg2MTc0NDg3">Cambia le impostazioni tramite w= eb</a> (necessaria l'ID Yahoo!) <br> Cambia impostazioni via email: <a href=3D"mailto:cfmentor-digest@yaho= ogroups.com?subject=3DInvio email: Riassunto">Scegli l'invio giornaliero</a= > | <a href =3D "mailto:[email protected]?subject=3DMod= ifica il formato di invio: Funzioni complete">Passa alle funzioni complete<= /a> <br> <a href=3D"http://it.groups.yahoo.com/group/cfmentor;_ylc=3DX3oD= MTJiNzcwY2Y5BF9TAzk3NDkwNDg1BGdycElkAzE3MDg2MQRncnBzcElkAzU1OTAwMDE5OQRzZWM= DZnRyBHNsawNocGYEc3RpbWUDMTM4NjE3NDQ4Nw--"> Visita il tuo gruppo </a> | <a href=3D"http://info.yahoo.com/legal/it/yahoo/tos.html"> Condizioni generali di utilizzo del servizio Yahoo! Gruppi </a> | <a href=3D"mailto:[email protected]?subject=3DUnsu= bscribe"> Annulla iscrizione </a>=20 <br> </div> <br> <!-- |**|end egp html banner|**| --> <div style=3D"color: white; clear: both;"/>__,_._,___</div> </body> </html> --047d7b33c6bce0389e04ecb7e5f9--