I am running a intranet website on IIS. Now my task is to access a folder with a normal href="" outside of the wwwroot folder. I think this isn't possible, so I tried to symlink the folder. I successfully created a symlink to the folder. But now I get the error message: "401 not authorized: Access denied due to invalid notifying informations". Any ideas? All help is highly appreciated! Thanks guys!
Access a folder outside of wwwroot with a symlink
965 Views Asked by poza At
1
There are 1 best solutions below
Related Questions in IIS
- Create an IIS web request activity light
- Why web API return 404 when deploy to IIS
- Adding site Binding programmatically IIS 7.5
- .net Web Api 2 Owin authentication token expires suddenly and often on IIS 8.5
- Redirecting subdomain to directory on Azure
- Saving Image To a Temp Folder is Loosing Session
- The page cannot be displayed because an internal server error has occurred on server
- Approach for performing long running tasks in .NET
- Why does IIS Anonymous Authentication turn on by itself after I publish my project to server?
- IIS 7 ERR_CONNECTION_TIMED_OUT only with public IP
- Maximum value for IIS .NET Compilation Batch Time-out
- ASP.Net 1.1 app on IIS 7 waiting threads
- File upload web api 2.0 error after deployment on IIS 8.5
- nginx and IIS - dealing with invalid hostname and SSL
- Allow console application to access Windows Authenticated web app
Related Questions in SYMLINK
- Alternative to symlink in C++ Builder
- How to use a main bib file with the Isabelle document preparation system?
- Difference between symlink and alias
- Emulate symlinks and use them in PHPstorm
- Mounting a symlinked folder in vagrant & virtualbox
- Symlink Exclude in Bash Script
- Symlink from Dropbox to External Directory Share
- Wordpress theme not recognized
- How to move up a level from an symbolic link in OSX
- "Cannot set fs attributes on a non-existent symlink target" error on symlink Ansible creation
- Python failing to create symlinks
- Many Docker Containers and Thrift
- Git: can I get git to store contents of a link create with ln?
- How do I get a symlinked /etc/hostname to take effect at boot
- R Won't Install Packages (ldpaths)
Related Questions in WWWROOT
- ASP.NET Core empty project. How to make bower and wwwroot work properly
- Web.config in the root directory and in my subfolder. How to define the file in my subfolder as the main one for my application?
- .NET 8 Blazor - Stopped Accessing wwwroot Folder
- Access a folder outside of wwwroot with a symlink
- Deleting files from wwwroot folder, what I am doing wrong?
- Blazor Web Assembly - accessing images in RCL
- Printing a PDF in a folder which is in wwwroot directory .net 5.0 web application
- "wwwroot" folder for project in visual studio
- why javascript Delete backslash(\) when Using Onclick method for File Addresses
- access/copy/delete the files of root folder from the azure app service(web app) using another web application
- using wwwroot from other project in BlazorWebView
- CRUD Functions for creating folder in wwwroot
- Angular - Load image from wwwroot / upload
- Blazor WASM File does not exist (but is readable?)
- Create folders in wwwroot on startup in NetCore
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
First of all don't use symlinks, just add a virtual directory to your site that points to the external folder.
Once you've done that you then need to ensure that the user the site is running under, usually the "Application Pool Identity" has the correct permissions to access your external folder. One of my previous answers explains how to do this: