473,569 Members | 2,782 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Directory Browsing using Cassini .Net 2.0

Anyone know how to enable Directory Browsing using the Cassini web
server on .Net 2.0 ? Right now it says HTTP Error 403 - Forbidden when
I go to a folder on my web site. Thanks,

JW

Feb 11 '06 #1
1 2114
Are you talking a web app browsing directory on the server?

My understanding is that Cassini is just a substitute of IIS to host ASP.NET
application. Whether a web app can browse directory on the server
comupter/server network, is decided according to the user account that runs
the web app. If the user account (be it ASPNET, Network Services,
IUSER_CoputerNa me, or other impersonated account, depending on your app's
design/configuration) does not have the permission to do so, then you get
the HTTP Error. You would either change the running user account, or give
the running account permission to perform what your app does to the
network/computer resources.

<Wo********@gma il.com> wrote in message
news:11******** *************@g 14g2000cwa.goog legroups.com...
Anyone know how to enable Directory Browsing using the Cassini web
server on .Net 2.0 ? Right now it says HTTP Error 403 - Forbidden when
I go to a folder on my web site. Thanks,

JW

Feb 11 '06 #2

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

Similar topics

26
2460
by: Dan Nash | last post by:
Hi guys I have a page that is *supposed* to list the directories on the server. Here's the code... folderspec = server.MapPath("./images/") set fso = CreateObject("Scripting.FileSystemObject") set fold = fso.GetFolder(folderspec) for each subfolder in fold.subFolders Response.Write(subfolder.name & "<br>")
3
2557
by: Stephen Green | last post by:
I'm using the code found at http://support.microsoft.com/?kbid=224364 called Creating a Directory Browsing Page Using ASP. The code works fine. I would like to find a way NOT to show hidden files or folders. I don't know (if it's possible) how to test for the hidden attrobute and create an IF condition that will allow only non-hidden files...
8
829
by: Opa | last post by:
Hi, Does anyone know how to get a list of files for a given directory from a given url. I have the following, but get an error indicating that URI formats are not supported. System.IO.DirectoryInfo di di = new System.IO.DirectoryInfo("http://www.websitehere.com/files/"); System.IO.FileInfo rgFiles = di.GetFiles("*.jpg");
0
1648
by: Tim Smith | last post by:
Dear All, Uncovered a problem with a home grown site replicator. We have directory browsing enabled to allow our remote clients to "dynamically discover" new files/directories (sites) we have deployed. As it turns out, some application groups are using our tool as a way to transfer dump files from our datawarehouse. Everything has been...
5
1397
by: Kenneth P | last post by:
Hi all, I want to ensure some security in my asp.net apps. I wanna know that you is you comsuming my asp.net app. That's why I'm interested in finding out various ways to solve that problem. Because my comsumers always are companies and my asp.net product is the only on the market, then I can demand some security, I think.
7
2637
by: Alex Maghen | last post by:
Hi. I had previously installed VS2005 beta 1. I carefully followed all the steps (I thought) to deinstall it and then installed beta 2. According to the documentation, the "Data" directory which was to be a "special" directory in the docroot of an ASP.NET app, has been renamed to "app_data". That's a GOOD thing because you guys were using up...
5
1418
by: Randall Parker | last post by:
Running XP Home which does not come with IIS. In response to advice received on this forum I installed the Cassini web server to serve in place of IIS. See here for Cassini: http://www.asp.net/Projects/Cassini/Download/Default.aspx?tabindex=0&tabid=1 Trying to create an asp.net project in VS 2003. When I try to create the problem I get this...
5
2696
by: GenCode | last post by:
What is the best way to read a "readable" web directory... I know I can do this Client.DownloadFile("http://www.mydomain.com/readabledir/", c:\ \dir.txt"); But that gives me the html and all the other tags...all I want is a directory listing of all the *.gif in this dir and not all the html Now I know I can parse the html to get the...
2
3051
by: Joe Kovac | last post by:
Hi! I have a Web Site, where I turned directory browsing off. I want only one sub folder to be browsable: e.g. MyApp/Files/... How do I do that? Any setting in the web.config? Thanks Joe
0
7605
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7917
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8118
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7962
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5501
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
933
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.