scheduled task password

Discussion in 'Hosting Services / Control Panel' started by renathy, Jan 14, 2012.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I have the following folder structure:

    - root (main application - production)
    - subfolder QA set up as Web Application (application for tests)
    - root contains web.config and QA contains web.config
    - my application uses form authentication


    I have a method "MoveToArchive" that calles appropriate StoredProcedure and cleans up my DB. Now I want this to be a scheduled task. This should be password protected task.

    So, the questions is:
    - should I create new web site from VisualStudio and put there may method?
    - if yes - should I create a subfolder in my QA folder for test and in my root folder for production (say, in fulder ScheduledTask)
    - how to create password protected file, should I put some web.config in this ShceduledTask folder?
    - if yes, how to configure it to use username/password protection and doesn't this folder inherits root folders web.config file?

    THank you.
     
  2. Bruce

    Bruce DiscountASP.NET Staff

  3. 3) To password protect the page, simply follow the instruction on this KB article. http://support.discountasp.net/KB/a3...-in-iis-7.aspx
    __________________
    Does this works if my root aplication uses Form authentiation. I do not want webservice folder to use it? (also I am using IIS6 and not IIS7).
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page