Skip to content

Commit 3c3d35f

Browse files
committed
🔒 Add web.config Files for Azure WebApps Deployment in CustomModules
- Introduced `web.config.private` for access control in the private documentation directory. - Configured to deny access to anonymous users, enhancing security for private docs. - Added `web.config.search.private` to manage access in the search functionality of JSDoc. - Set to allow all users access, ensuring seamless search experience in documentation. - Files integrated into the documentation generation process as per `package.json` setup.
1 parent b9102bd commit 3c3d35f

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

.ci/templates/web.config.private

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0"?>
2+
<configuration>
3+
<system.web>
4+
<!-- Anonymous users are denied access to this folder (and its subfolders) -->
5+
<authorization>
6+
<deny users="?" />
7+
</authorization>
8+
</system.web>
9+
</configuration>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0"?>
2+
<configuration>
3+
<system.web>
4+
<compilation debug="false" />
5+
<!-- Unless specified in a sub-folder's Web.config file,
6+
any user can access any resource in the site -->
7+
<authorization>
8+
<allow users="*" />
9+
</authorization>
10+
</system.web>
11+
</configuration>

0 commit comments

Comments
 (0)