Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 10210 invoked by uid 500); 28 Aug 2002 00:44:23 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 10199 invoked from network); 28 Aug 2002 00:44:23 -0000 Received: from rwcrmhc51.attbi.com (204.127.198.38) by daedalus.apache.org with SMTP; 28 Aug 2002 00:44:23 -0000 Received: from frontline ([24.147.224.27]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20020828004431.VLSU14185.rwcrmhc51.attbi.com@frontline> for ; Wed, 28 Aug 2002 00:44:31 +0000 From: "Zohreh and Anthony Romano" To: "Apache" Date: Tue, 27 Aug 2002 20:42:30 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] question regarding generating urls Hello, I was taking a look at the URL that mp3.com spits out for it playlists/mp3s. I was wondering how one goes about accomplishing such a thing: http://downloads.mp3.com/AAIBQqdCEwBBZzbtJQGAwARub3JtUAUAAABSsQMAAFEKAAAAUzU BAABUSQAAAEPBE2w9y1u6c7meE24Z0P5pymCG2A--/Aquaphoria.mp3 Basically I have a directory that contains some files. I have created a web front-end, but want to obscure the data directory structure like the url above. The files will mostly be documents, but there will be a few flash files of my own design. I would rather not have them out in the open. directory structure of web site: ~joesdir/www_joe ......../www_joe/cgi-bin ......../www_joe/data ......../www_joe/html ......../www_joe/images So the data directory would somehow be hidden by what looks like a generated key. Can you do something like this: login, key gets generated based on some algorithm. page is requested which is within data directory, the directory is passed has the key as part of the dir. Then there is maybe an external map file that takes the key and checks to see if it belongs to a valid user. if successful the file gets returned as the url like above. As another user pointed out I can use auth cookie, but I still want to be able to hide the directory somehow. No need to go into detail, just an over all approach/where to look on the web sort of thing would be great. Of course if you know and would like to share that is even better :o) thanks. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org