473,396 Members | 1,789 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Securing a directory without IIS?

Is there a way to secure images, .zip files, html files and other non asp.net
files through forms authentication? It looks like ASP.NET does only secure
..aspx and .ascx files.

I know, there is a IIS way (remapping to the ASP.NET DLL), but we're hosting
externaly, and I don't think, the hoster will do it.

Any other options?
Nov 19 '05 #1
2 1041
Write a ASPX that streams the files from a (from the outside world unknown)
directory.
Therefor only the ASPX is visible to users and you can check their names,
roles and permissions...

--
Daniel Fisher(lennybacon)
http://www.lennybacon.com
"the friendly display name"
<th********************@discussions.microsoft.co m> wrote in message
news:FC**********************************@microsof t.com...
Is there a way to secure images, .zip files, html files and other non
asp.net
files through forms authentication? It looks like ASP.NET does only secure
.aspx and .ascx files.

I know, there is a IIS way (remapping to the ASP.NET DLL), but we're
hosting
externaly, and I don't think, the hoster will do it.

Any other options?

Nov 19 '05 #2
They should do, this is how its done.

--
Best Regards

The Inimitable Mr Newbie º¿º

"the friendly display name"
<th********************@discussions.microsoft.co m> wrote in message
news:FC**********************************@microsof t.com...
Is there a way to secure images, .zip files, html files and other non
asp.net
files through forms authentication? It looks like ASP.NET does only secure
.aspx and .ascx files.

I know, there is a IIS way (remapping to the ASP.NET DLL), but we're
hosting
externaly, and I don't think, the hoster will do it.

Any other options?

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: j-marvin | last post by:
hi- i am going through the process of password protecting a directory using ..htaccess and .htpasswd i am experiencing difficulty. so my question is without making life anymore difficult is...
2
by: Dave Smithz | last post by:
Hello there, In summary: How to make my password protected php scripts available for use to public, without letting them do anything they want to DB. Previously a shared hosting hosted MySQL...
6
by: Stephen VanDahm | last post by:
I'm looking for a way to install Python on a UNIX machine in a way such that any user on the system can use it, but only to execute scripts that are located in a certain directory. I do not have...
11
by: Wm. Scott Miller | last post by:
Hello all! We are building applications here and have hashing algorithms to secure secrets (e.g passwords) by producing one way hashes. Now, I've read alot and I've followed most of the advice...
7
by: Simon Harvey | last post by:
Hi everyone, I just read an article that said that when you use a web.config file to secure a directory, all it can do is secure the asp.net resources in that directory - not any non .net...
8
by: techjohnny | last post by:
Hello: I have a form that processes a script upon submission. The script is on the local server, but is accessible through a web browser. I'd like the user to be able to submit a form and...
4
by: =?Utf-8?B?aGlsZXlq?= | last post by:
Hi, I'm developing a web service that needs to communicate with a custom application on an intranet. There is also a configuration utility which may be run on a different server machine for...
4
omerbutt
by: omerbutt | last post by:
hi every one I am A new Bee to php mysql and i was surfing through the net to learn about how to secure the mysql when you are working in a web environment while working with php html and javascript...
10
by: Les Desser | last post by:
In article <fcebdacd-2bd8-4d07-93a8-8b69d3452f3e@s50g2000hsb.googlegroups.com>, The Frog <Mr.Frog.to.you@googlemail.comMon, 14 Apr 2008 00:45:10 writes Not sure if I quite follow that. 1....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.