Windows 10: How can I access settings in the web.config file from a Native C++ IIS Module?

Discus and support How can I access settings in the web.config file from a Native C++ IIS Module? in Windows 10 Gaming to solve the problem; I'm writing a IIS Module in C++ and I need to get settings from the web.config file located in the root folder of the IIS Application.... Discussion in 'Windows 10 Gaming' started by RolandSmith4, Feb 10, 2024.

  1. How can I access settings in the web.config file from a Native C++ IIS Module?


    I'm writing a IIS Module in C++ and I need to get settings from the web.config file located in the root folder of the IIS Application.

    :)
     
    RolandSmith4, Feb 10, 2024
    #1
  2. jcaswell Win User

    W10 can connect to wider internet but cannot access web pages

    I have an odd issue with my W10 laptop linked to Sky broadband in the UK via wifi using a Sky router. The effect is that while I can actually access the internet (I can send and receive emails using Outlook and can connect to other machines using TeamViewer) I cannot access any web site (Google, BBC etc). There is no specific error message, merely that the access request timed out and a suggestion that it may be to do with proxy. I have tried the following:
    1. Other systems (W10 and ios) can access web sites using the same Sky router (therefore probably not a router problem)
    2. I have sent and received emails using Outlook, so the broadband connection is working (probably not a Sky problem)
    3. I have tried two different browsers (Firefox and Edge), no connection (not a browser problem)
    4. I am using Windows Defender and have:
      1. Made sure that Firefox is in the list of allowed systems in its Firewall, no connection after a reboot
      2. Turned off the Firewall and tried again - no connection
    My next step will be to re-install Windows, but has anyone got any other suggestions? Could it be some sort of virus (I have carried out a complete virus check using Defender) So - any suggestions?
     
    jcaswell, Feb 10, 2024
    #2
  3. t_ski Win User
    Setting up basic ACL's on Cisco 2600

    OK, I have a small project I'm working on. To start with, here's the basic network map:


    How can I access settings in the web.config file from a Native C++ IIS Module? [​IMG]


    I'm looking to set up some very basic access control lists for using the router as a firewall. (This is a requirement for the class I'm doing this for, so don't ask me why I'm not using a regular firewall.) Since we're only dealing with these three servers (web, email and FTP), we're only concerned with ports 80, 25, 20/21 and 110. However, Windows ephemeral ports 49151-65535 have to be considered as well.

    Here's what I have so far:
    Code: !Access List #1 !Applied to e0/0 ! Router(config)# access-list 1 permit tcp any eq 80 Router(config)# access-list 1 permit tcp any eq 25 Router(config)# access-list 1 permit tcp any eq 110 Router(config)# access-list 1 permit tcp any eq 20 Router(config)# access-list 1 permit tcp any eq 21 Router(config)# access-list 1 permit tcp any range 49151-65535 Router(config)# access-list 1 deny ip any any ! ! !end !Access List #2 !Applied to e0/1 ! Router(config)# access-list 2 permit tcp any eq 80 Router(config)# access-list 2 permit tcp any eq 25 Router(config)# access-list 2 deny tcp any eq 110 Router(config)# access-list 2 permit tcp any eq 20 Router(config)# access-list 2 permit tcp any eq 21 Router(config)# access-list 2 permit tcp any range 49151-65535 Router(config)# access-list 2 permit icmp any any Router(config)# access-list 2 deny ip any any ! ! !end[/quote] Am I on the right track here? I don't want to be missing something huge. *Confused How can I access settings in the web.config file from a Native C++ IIS Module? :confused:
     
    t_ski, Feb 10, 2024
    #3
  4. How can I access settings in the web.config file from a Native C++ IIS Module?

    FTP Access IIS

    Hi

    I set up an FTP site using IIS to share files within my LAN. I have created a new user on the same PC as FTP site but when i try to access FTP folder from any device on the LAN using username and password of
    my new user it refuses to let me in showing the following: Could not log in to the FTP server with the username and password specified.

    Steps that I have gone through when setting up FTP:

    • Created ftp folder and set up FTP server
    • specified path to the folder
    • did not use SSL
    • specified IP
    • Created new windows user and added this user to FTP authorisation Rules
    • Excluded FTP from firewall
    • Allowed new user access to the folder itself
    Tried to access using both file directory and internet explorer

    Did not enable port triggering in the router as was only planning to use FTP locally

    I would highly appreciate your help
     
    MarcRaetchii, Feb 10, 2024
    #4
Thema:

How can I access settings in the web.config file from a Native C++ IIS Module?

Loading...
  1. How can I access settings in the web.config file from a Native C++ IIS Module? - Similar Threads - access settings web

  2. How can i change how i download a file from the web

    in Windows 10 Network and Sharing
    How can i change how i download a file from the web: when i started downloading it was a normal, download but then i messed up a bit and now i can't change it back to how it was downloading before....
  3. How can i change how i download a file from the web

    in Windows 10 Gaming
    How can i change how i download a file from the web: when i started downloading it was a normal, download but then i messed up a bit and now i can't change it back to how it was downloading before....
  4. How can i change how i download a file from the web

    in Windows 10 Software and Apps
    How can i change how i download a file from the web: when i started downloading it was a normal, download but then i messed up a bit and now i can't change it back to how it was downloading before....
  5. How may I open "C:\Windows\System32\config\SYSTEM" file

    in Windows 10 Gaming
    How may I open "C:\Windows\System32\config\SYSTEM" file: Hi all,I am asked to boot from Windows PE, open Registry Editor and mount the "C:\Windows\System32\config\SYSTEM" fileWould somebody please eplain my how to do that ? I have no access to my Windows 11. I can't boot as system is defekt.So using a Live USB tool like Hiren's...
  6. How can I access settings in the web.config file from a Native C++ IIS Module?

    in Windows 10 Software and Apps
    How can I access settings in the web.config file from a Native C++ IIS Module?: I'm writing a IIS Module in C++ and I need to get settings from the web.config file located in the root folder of the IIS Application. https://answers.microsoft.com/en-us/windows/forum/all/how-can-i-access-settings-in-the-webconfig-file/0abef3d2-a891-44c7-8d9a-321936200b74
  7. Another instance of the Web Platform Installer or Web Platform Installer IIS Manager module...

    in Windows 10 Software and Apps
    Another instance of the Web Platform Installer or Web Platform Installer IIS Manager module...: When I click on Web Platform Installer in Internet Informational Services it always says Another instance of the Web Platform Installer or Web Platform Installer IIS Manager module is already running. How do I fix this?...
  8. How can I gain the permission and access C:\Documents and Settings if I INSIST

    in Windows 10 Network and Sharing
    How can I gain the permission and access C:\Documents and Settings if I INSIST: I know this is a junction point to C:\Users But, unlike some other junction, this junction denied all direct access. fantastically I can access C:\Documents and Settings\Admin actuallyC:\Users\Admin So, here is two question below. 1. How exactly did Microsoft create...
  9. Module IIS Web Core Notification MapRequestHandler Gestionnaire StaticFile Code...

    in Windows 10 Network and Sharing
    Module IIS Web Core Notification MapRequestHandler Gestionnaire StaticFile Code...: I run Windows 10, I use Dreamweaver CS5.5 to develop websites. It has always worked perfectly. Since I'm on Win10, problem appeared that I first could solve months ago honnestly I don't remember what I did. Lately I intalled Visual Studio 2019 and my problem became more...
  10. Can I make a Local file natively open in Office Web version?

    in Windows 10 Ask Insider
    Can I make a Local file natively open in Office Web version?: Title. I want to have a way so I can just double click a MS Office file and it will automatically open a web browser of my choosing, on [right program].office.com and open the file there. Is that in any way feasible without installing any extra Software? Why you ask? Well,...