HTML - Directory Permission/protection Question
Hello All,
This being my first actual post, I'd just like to say that after reading some of the threads on here, this looks like a solid forum, unlike so many others containing similar subject matter. Anyway, I have a question for you all, regarding permissions and protection of directories within a site. In this case, my boss and I are trying to create a voice over casting database for our voice over studio in which clients can come to us with a job and we can create a custom page for them with possible casting choices unique to that job. The creating of the custom pages obviously isn't hard, but we running into trouble with being able to link to specific voice over demo MP3s without allowing the user access to our entire database. Ideally, what we'd like to do is keep all of the MP3s in one directory and then link to them on the custom pages without the user then just being able to jump back and access the entire directory. We'd also rather not put each mp3 in it's own folder and password protect that folder because then the clients would have to enter a different password to listen to each VO. Does anyone have an ideas here? We've been told that a custom script would do the trick, be it html or php, but we don't really know where to start. Any help or feedback would be greatly appreciated. Thanks. -Andy Similar TutorialsHey there i am not sure if this is the right forum but i have a quick question. I dougt this is html password protection, and i have no idea how you do it. well anyway... at this site http://www.grandstylus.co.uk/psp/ there is a password prompt when you click 'User Log In' and i was just wondering what type of coding that is and how do you do it. It looks different in mozilla from ie for some reason but its the same reason and i was wondering how you do it as i see its a actually password prompt compared the the javascript text prompt i was using. Thanks a bunch in advance. Hi all, I have a directory on my website that is password protected... I'd like to set it up so the first page a visitor sees has an option to log in (with username/password form field) or register with a full form to collect their information. Right now all visitors see is an ugly gray box that asks for username and password. How can I do this? All files in the directory (including PDFs etc.) have to stay protected. Thanks! -Lynn Wicked simple question: I have three images located in my "images folder" My Top level looks like this -images- (folder) -party- (folder) index.html In my "party" folder I have a page called "events.html" and I need to know how to call an image in my "events.html" located on the top level folder "image" I know if i move the event.htmls to the top level I could call it by this: <img src="/images/picture1.gif"> However I DONT want to move the events.html, so how do I call the image? O and I am not looking for the answer : put the "http://www.sitename.com/images/" in the image tag ANY HELP THANKS!!!!! Hey guys, I'm pretty new to this whole html/web developing community and I got a few questions. My most important question is: 1. Would it be possible to have a button(like a type=file) that browses directories only, but instead of uploading them, just displaying the path as a text, so when my script picks it up, it just reads the text? EDIT: What I'm talking about is very similar to this thread, but i just want them to upload path so when the script emails the data, its just a link to the path on the local server and my other question is: 2. If a user enters data in a text area, like i am writing in this, when my script picks it up, it does not seem to get the newlines at the end and just displays it all on one line, is there a way i can go about fixing it so that it gets passed(or even converted) to exactly how the user entered it? EDIT: I've tried using wrap="physical" tag but I've been reading and some people say that it doesn't work..any suggestions? Thanks a bunch for your help Does HTML provide protection? Hi, Can anyone help me password protect my website? I was thinking of adding a php page as the index and then having it redirect to the main site after the password has been entered correctly. I don't need multiple logins, just one that I can share with a few people. Any ideas? Thanks Got a couple of questions, first one, and reason I posted in this forum: I recently signed up for sentrylogin.com to password protect my weebly website. I'm having multiple users all attached to their own private page via the functions on sentry's website. Only problem, is I want my webmaster to have access to all the private pages, just by logging on as his account. I don't want to have to deal with the trouble of requesting each member to enter their information whenever he wants to pull up their page, or logging into sentrylogin.com to deal with their passwords there. This is a snip of the code they have us put in the footer of each page to be password protected. Is there anything I can modify in here to allow for two members to have access? I tried just adding a second number on the singleout area, but that obviously didn't work. Code: PpLID = ""; /* Makes this page viewable by only members of one PayPal Subscription, enter its Ppl ID */ pageLevel = 0; /* Access Level required to view this page */ SingleOut = ######; /* Makes this page viewable by only one member, enter their account number */ My other question, is if that fails, is there a better site anyone recommends for password protection? I am using weebly as my domain, and I don't have access to server side, so php and stuff are out of the picture. I need: Users to be able to access their own pages Webmaster to be able to access all pages, including the private user pages A minimal security setting so all members can also access certain pages Just reply if any of this is unclear. Hoping for some answers or at least a redirect! Thanks for your time, FFXIgirl P.S. - I don't mind paying for a website that offers the functions I need, as long as it's within reason! Hey all, The webpage I will talk about is the following: http://globaltransport.atw.hu/ First of all could you help me to make something with the ads? Because if you navigate to an another page of this page one more ad is being displayed, and than another, and so on...(try it and you will see what I talk about) Then, I'd like to submit a 'Members Area' on my webpage but I have no idea how to protect it with password. If possible I don' wanna use php. Only, HTML, or script that could be built in a HTML code. Could you help me in it? Thanks so much, Gajka Hello, A few months ago I ran a website that used a CMS (Postnuke) with a Invision Power Board forum. Everything went fine until one day a "hacker" came upon my site and somehow gained full access to my email and login name & password. Friends tell me that he used a SQL injection on either Postnuke or IPB, which gave him my password. He then proceeded to delete everything I uploaded via FTP by gaining control of my account in GoDaddy and also domain forwarded my website to his www. Naturally this was my fault for using the same password for everything... once he got it from the CMS or IPB, he continued to lock me out of my Gmail, Hotmail, Paypal, and other accounts. Yea, pretty stupid of me. So on to my questions. I've decided to restart a website, with a different domain, and am using pure HTML for everything. I do, however, use 1 SQL database for an IPB forum. I'm not an expert in website coding... hence why I used a CMS previously. Is using HTML safe from hacks? I don't care about hotlinking or image stealing, I just don't want this jerk coming back and trying to take over again. He comes to sites that offer the same "product" as his and has to take out his competition. Is there any steps I can take to protect my site more than it is now? I setup my IPB database via GoDaddy control panel... if he hacks my forum again can he somehow gain my password for GoDaddy also (different passwords)? I guess you can say I'm pretty paranoid about this... but I'm pretty worried if I start publically start advertising my site he will come by again -Adam Ok just give me your views on this topic, I have disabled right click, source code, offline webpage, links in status bar, opera users, adobe web capture, text select, clipboard/printscreen, drag and drop, psage printing, encrypted the entire page, copy right blabla.... also protected image using server side script (php) I think its still possible but very limited now , what do u dudes think, Hi. I'm using HTML 5 video to deliver .mp4's to my site. I recently added hotlink protection via my root .htaccess file: (I've replaced my website with "mysite.com" for security purposes: Code: RewriteCond %{HTTP_REFERER} !^http://mysite.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://mysite.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.mysite.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.mysite.com$ [NC] RewriteRule .*\.(jpg|jpeg|gif|png|bmp|mp4|m4v)$ - [F,NC] This script blocks direct access to all image files and mp4/m4v files. Images display normally on the site, as they should, but videos no longer display. When I use the Flash-based Flowplayer to play my videos, instead of HTML 5 tags, they work fine, but the videos just won't show using HTML 5. They were working before, and I have changed nothing to my code except add hotlink protection to the .htaccess file. What's wrong, and what can I do to fix this? Is there another way to block direct access (i.e. browsing to the file using the address bar) to mp4 files without forbiding access to HTML 5 <video> tags on my website? Thanks! I know how it is to work hard on images and lose them in one shot to scammers. One time I worked hard on a banner and made a thread asking for members to rate it. A guy came along, stole it, edited it and went to another pop forum and told everybody it was his So I worked on some image protection scripts. Enjoy. Disable PrtSc Req Sys Print screen is a button on your keyboard that can take a picture of the screen and send it to your clipboard. My script will manipulate other's Print screen key until they leave the page. Besides, how many people actually use that button? Put this in your <head> tags. HTML Code: <SCRIPT LANGUAGE="JavaScript"><!-- function do_err(){return true}onerror=do_err;function no_cp(){clipboardData.clearData();setTimeout("no_cp()",100)}no_cp();//--></SCRIPT> Disable Page Printing Some people want to steal information by printing. Want to prevent this? Disable printing! Put this in your <head> tags. HTML Code: <script language=JavaScript> <!-- function atlpdp1(){for(wi=0;wi<document.all.length;wi++){if(document.all[wi].style.visibility!='hidden'){document.all[wi].style.visibility='hidden';document.all[wi].id='atlpdpst'}}}function atlpdp2(){for (wi=0;wi<document.all.length;wi++){if(document.all[wi].id=='atlpdpst')document.all[wi].style.visibility=''}}window.onbeforeprint=atlpdp1;window.onafterprint=atlpdp2; //--> </script> Disable Image/Text Drag This neat script will prevent anybody from dragging text or images. This also goes between the <head> tags. HTML Code: <SCRIPT LANGUAGE=javaScript><!-- document.onselectstart=new Function("return false");document.ondragstart=new Function("return false"); //--></script> =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ If you use my scripts and appreciate them, please donate to: janard@hotmail.com (PayPal) Thanks, Gold Hi everyone, Working for a new company and the guy that left made a mess of some form validation. He built the website and it's digitally signed by himself. Do I legally need to get his permission to change his code? Don't know much about this area.... Thanks http://www.website.com/thisisapage/ ^Can somebody explain how to set up directories on my website as such. Because this seems to be saying that a directory is a file, even though I know that is not the case. Shouldn't all pages have an extension of some sort and does this have something to do with SSI or something? Hi, I'm building a site for a dj record pool. I set up a paypal subscription button and ".htaccess, .htpasword, process_txns, paypal.pl" scripts on the site. I'm looking for a way to provide individual links for all mp3 downloads (10 gigs worth), without having to type in all song titles every week when new files are uploaded. Is this possible? Thanks Hey all! I am having trouble figuring out how to fill a list with the names of the folders in a certain directory anyhelp would be great! EDIT: I need to figure out how to get all the folders names from "www.mysite.com/files/" and add them to a list in dreamweaver and what ever one i click on it loads all the files from that folder to another list... anyone got any direction i should go... I pretty clueless but am still googling info trying to catch something... Thanks! Hey I've got this issue with a website of mine even though my html link says /members/patrolroster.html once i am there (patrolroster.html) all other links from that (and all pages inside the /members directory for that matter) page via the nav menu get /members affixed onto them (eg, what should just be index.html turns into /members/index.html). My html says it should go to index.html but where is /members coming from? Im puzzled at why it affixes the directory the file is in onto all outgoing links. Take a look at the site if you like its, http://www.wyeriverslsc.asn.au/ Any help is appreciated, Tom I am working with a new client and am trying to access their admin area on the ecommerce site. I think I found the correct directory but am not able to get past a directory security pop up that asks for login information. Of course the client does not have this. I have FTP access and am trying to figure out if I can get around this pop up and finally get to the admin login. There is a .htaccess file with the following contents: PHP Code: #AuthType Basic #AuthName "OS Commerce Administration" #AuthUserFile "/home/lucid/.htpasswds/catalog/admin/passwd" #require valid-user I've removed this file completely and I still get that pop up. Can someone help. Please. I'm wanting to be able to look into a certain directory and pull whatever is in there and make it a link on the page so the person that is vewing it can pull up what is in that directory. All that is going to be in the directory is going to be documents, and I don't want to have to edit my html document every time there is a new file put into the directory. Is there a way to do this in HTML? hi, im creating a script where users will be able to upload files to my site from a form, i was wondering if i could stop files from being executed from the upload directory because if a user desides to upload a harmfull php file them execute it on the site, well it would be bad. so, can i do this by setting the directory permissions (chmodd) to 444, only allowing reading? thanks! |