Is it possible to lock down the _vti_bin and _layouts pages with a wildcard option.

Hi all,
A client of mine is running an internet facing sharepoint site. I have managed to lock down the _vti_bin and _layouts pages users for anonymous by using the following entries in my main web.config file:
<location path="_layouts">
      <system.web>
        <authorization>
          <deny users="?" />
        </authorization>
      </system.web>
    </location>
and
<location path="_vti_bin">
      <system.web>
        <authorization>
          <deny users="?" />
        </authorization>
      </system.web>
    </location>
But this is only ok for the root site collection. Is there a way to lock down all site collections, including sub sites with a type of wildcard entry?
Due to the nature of the clients business, they will be creating many site collections and subsites. I am trying to find a scalable way to manage this. To add an entry for every new site collection or subsite that gets created on the fly does not seem like
the most manageable solution.
Any suggestions would be appreciated.
Regards
Mirco

Hi Sachin,
Thank You very much for the feedback. The info to secure system pages from authenticated FBA users is very helpful and I will definitely  implement it.  With reference to your second post. This is actually the information I used to lock down my
sites from anonymous users. Applying this method I noticed that you needed to put an entry for every single site collection and sub site collection, e.g. if I ONLY had a site collection at
https://me.myserver.com then the following entries in the web.config would secure the _vti_bin and _layouts folder from anonymous users:
<location path="_layouts">
      <system.web>
        <authorization>
          <deny users="?" />
        </authorization>
      </system.web>
    </location>
and
<location path="_vti_bin">
      <system.web>
        <authorization>
          <deny users="?" />
        </authorization>
      </system.web>
    </location>
But lets say I added another site collection at
https://me.myserver.com/sites/mysitecollection I would have to add the following entries to the web.config file to secure it from anonymous users:
<location path="sites/mysitecollection/_layouts">
      <system.web>
        <authorization>
          <deny users="?" />
        </authorization>
      </system.web>
    </location>
and
<location path="sites/mysitecollection/_vti_bin">
      <system.web>
        <authorization>
          <deny users="?" />
        </authorization>
      </system.web>
    </location>
Now this method might be manageable if you are only gonna have 5 or 10 site or subsite collections. My client will have 30, 40, 50, who knows how many. This is why I am trying to find a more manageable way of locking these sites down.
You can imagine what my web.config will look like eventually and the admin involved in continuously adding these entries to the web.config file to keep it safe from anonymous users.
Regards
Mirco

Similar Messages

  • HT1766 I Have tried to update to iOS 7 but the iPad has locked on the Terms and Conditions page .I cannot agree to the conditions.Ideas please on how to get the iPad working again.

    having attempted to upgrade to iO7 latest op system,the Ipad has stuck on the Terms & conditions page.It will not accept my agreement to terms and conditions or allow me to read them.
    Ideas please on how to get it to work again,which will have to be via my lap top!
    It sound as if the iPad is woking in the background-i.e.receiving eMails.

    Reset iPad and continue with update.
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • In Numbers, how do I lock in the date and time data when an IF/THEN formula is used with the "NOW" function?

    In Numbers, how do I lock in the date and time data when an IF/THEN formula is used with the "NOW" function?
    =IF(I127,NOW()," ")
    I127 equals a check box. The formula retuns a value of the current date and time when a check is placed in the box. How does one lock that date and time so that it cannot be changed?

    I don't think it is possible to lock in the date and time using a formula. You could put NOW() in a cell, copy, and Edit Paste Formula Results where you want the result.
    Or if you are "time stamping" a lot, you may find this Automator Service (Dropbox download) helpful. It puts a "Today" function (actually it should be named "Now" because it includes both date and time) in your Services menu like this:
    Just doubleclick the .workflow package to install it. You may have to click "download anyway" in System Preferences > Privacy & Security.
    If you want you can assign the service a keyboard shortcut in System Preferences here:
    SG

  • If my iPhone is stolen and the thief shut the phone down, I wouldn't be able to locate it anymore.  Is it possible to disable the possibility to shut down the phone when a passcode lock is set up?

    If my iPhone is stolen and the thief shut the phone down, I wouldn't be able to locate it anymore.
    Is it possible to disable the possibility to shut down the phone when a passcode lock is set up?
    enable prohibition shutdown option, with out a jail break tweek
    Apple should think about this, if not already in the new IOS 7

    No.
    The battery will run out sooner or later anyway, even if you could prevent shutdown.
    iOS 7 includes a feature that prevents anyone wiping and then re-setting up the phone without your AppleID and password.

  • Is it possible to disable the possibility to shut down the iPhone when a passcode lock is set up?

    If my iPhone is stolen and the thief shut it down I wouldn't be able to locate it anymore.
    Is it possible to disable de possibility to shut down the iPhone when a passcode lock is set up?

    That is true, and if it is restored to factory settings, and so on.  Find My...works when a device is connected to the internet and logs itself in as long as it has not been "sanitized" so it is not recognized.

  • How do you modify the web.xml to lock down the pages from a user role

    how do you modify the web.xml to lock down the pages from a user role

    I'll make a stab at your question:
    The following is an example of where a URL is protected within a web.xml deployment descriptor. In this example, the URL /protectedA within the application is protected:
    <!-- security constraints -->
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>protectedA</web-resource-name>
    <url-pattern>/protectedA</url-pattern>
    </web-resource-collection>
    <!-- authorization -->
    <auth-constraint>
    <role-name>sr_developer</role-name>
    </auth-constraint>
    </security-constraint>
    Sun's explaination here:
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security4.html

  • Can we lock down the system for BW object and not bex objects

    Hello,
    I have a question about object changeability. We want to lock down the BW production system but leave it open for adhoc query. Can we lock down the BW system only for few objects like Cubes, ODS, Infoobjects, Infosets, Multiproviders, and keep the system open for Bex objects like Query, varaibles and also for Infopackges and DTP's.
    Which tcode can we use for this ?
    Thanks,
    Message was edited by:
            Kiran Mehendale

    hi, usaully production system will be non changeable for all objects.. but as far as SAP BW is concerned we can make certain objects changeable by setting as follows..
    in production go to RSA1 - Transport Connection, select Object changeability button from tool bar, here you will find a list of objects which can be made changeable in a closed system.. just click on required objects and set it to Everything Changeable..
    Reg,
    Pradhiba
    <REMOVED>

  • I have a problem choosing artist from my artist list when I will put music on my iPad from my iMac. I can only see the 25 first artis and it is not possible to scroll down the list

    have a problem choosing artist from my artist list when I will put music on my iPad from my iMac. I can only see the 25 first artis and it is not possible to scroll down the list

    Hi stig68,
    If you are having grouping issues with compilation albums in iTunes, you may find the following article helpful:
    Apple Support: Why aren't songs with the same album art grouped together?
    http://support.apple.com/kb/TS1468
    Regards,
    - Brenden

  • Is it possible to right down comments directly on a page without the sticky notes?

    Is it possible to right down comments directly on a page without the sticky notes?

    However, you will be able to do this with updates to iOS 5 which will be released this fall. You will still have to use your computer to update to iOS 5, but all incremental updates after that will not require your computer.

  • HT5957 I have downloaded the ios 7 for my ipad and now my screen is locked and shows a plug pointing towards an itunes symbol.  Does anyone have an way out of this frustrating problem?  Holding down the home and power buttons together has not worked.

    I have downloaded ios 7.2 update for my ipad and now my screen is locked and shows a picture of a plug and the itunes symbol.  Does anyone have advice to fix this frustrating problem?  I have seen help online for iphones, but none for ipads.  The screen will not budge.  I have tried holding down the power and home buttons at the same time, to no avail.  Please, can some of you smart people help me?

    Hi there Martha250,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    iOS: Unable to update or restore
    http://support.apple.com/kb/HT1808
    -Griff W.

  • Are Macs able to lock down the firewall?

    Are Nacs able to lock down the firewall?

    I have mine locked. Do you have a problem locking yours?

  • Possible to slow down the drives?

    On windows you can use a utility called "Drivespeed" to slow down the drive and make it silent.
    Its annoying when Im watching a DivX burnt on a CD/DVD and it makes so much noise when its reading.
    Is there any way to do this on a Mac?

    First of all, this problem can only be associated to a broken instrument. The instrument itself controls how fast data is sent to it on the bus. That is the primary purpose of the interlocked 3-wire handshake.
    If the device is unable to accept any more data (buffer-full), it can assert the NRFD line to indicate it is not ready for data. In fact, it is only allowed to deassert NRFD when it is actually ready for data.
    For command transfers, the device is only supposed to deassert NDAC after it has accepted and processed the command byte on the bus.
    If this device (or any other) is deasserting NRFD when it is not ready or NDAC when it has not processed a byte it is broken.
    One other option available to help communicate to a b
    roken instrument is to increase the cable lenght. This adds propegation delays that can sometimes "fix" a broken instrument. I have personally seen an 8-meter cable fix a similar problem. (The device got fancy and deasserted NRFD before it was ready, anticipating that the controller would take a "long" time to change the DIO lines. With new controllers and computers, the DIO lines were changed before the device latched the data, confusing the device.
    Hope this helps...

  • The new firefox twitter app is great - except it disappears every time I shut down the computer and I have to remove and then reinstall it every day!?? I am working on an iMac - if that is causing the problem ...? Thanks.

    The new firefox twitter app (mini tab on left of page) is great - except it disappears every time I shut down the computer and I have to remove and then reinstall it every day!?? It won't appear on the page until I do. I am working on an iMac - if that is causing the problem ...? Thanks.

    Eustace, thank you so much for writing back.  I will try what you suggested!!
    thx for your reply - apparently when I went to the Apple store a long time ago, they restore maybe photos and itunes etc from my external hard drive (passport).  I guess at that time they reinstalled an earlier operating system than my macbook came with and that somehow corrupted FileVault.  apparently there was no sparse bundle (whatever that is) for my old admin account and they said that ever since the install of the older OS that it was actually NEVER backing up anything in my admin account.
    Then, I bought Time Capsule and starting backing up to that instead.  I started having problems with it being slow etc and then StartUp Disk full errors and didn't know what to do, so I "Restored" from Time Capsule and that's when I lost everything in my Admin account and was locked out when I tried to log in - it said File Vault error ..."
    anyway - that's THAT sad story.  I was told to create a new admin account and I've basically been trying to start over - even though I have a partial save of my computer in Crash Plan and I DO see a sparse bundle listed in there, but I just don't know enough about computers to know if it's something I can get back or if I am just totally doomed. 
    I'm afraid to reinstall anything because if there is even a remote shot that the other files are still floating around in my computer, I feel like that chance will be shot forever.  I need to hire McGee from NCIS, I just KNOW he could get those files back for me!!!

  • IBooks updated red 1 indicator by the word purchased. But it doesn't do anything. I've shut down the phone and restarted to no avail. Any suggestions?

    iBooks updated to 3.2 on iPhone 5. Now I have a red 1 indicator by the word purchased. But it doesn't do anything. I've shut down the phone and restarted to no avail. Any suggestions?

    I am having a similar problem. Running Xp.
    Latest revision of firefox.
    After using firefox for a while if I exit, parent.lock is locked and i have to reboot to reload firefox.
    I have killed all firefox applications from task manager (usually there are none). and I have tried 3 different "file unlock" programs including unlocker to no avail.
    I also recently installed a program that shows -all- open files, and parent.lock is not listed, and thus not closable/unlockable from there.

  • I probably misclicked when I activated the security lock on the iPhone and now I can not figure out what password I entered. Moreover, I have patches and funky looking phone so I can not restore iphine pres itunes. Please advice.

    I probably misclicked when I activated the security lock on the iPhone and now I can not figure out what password I entered. Moreover, I have patches and funky looking phone so I can not restore iphine pres itunes. Please advice.

    Your only recourse is to force it into DFU mode:
    Turn your phone off and connect your cable to the computer, but not the device just yet. Start up iTunes. Now, hold down the home button on your phone and plug it in to the cable - don't let go of the button until iTunes tells you it's detected a phone in recovery mode. Now you can restore to factory settings.

Maybe you are looking for

  • What constitutes an "open' task?

    How does the system decide which tasks to put in this list? Is it based on status, created date? A combination of fields? Any help would be appreciated! B

  • How actually iFS work?

    I have read almost all the technical documentation about iFS. I know that it allow end user to acces database through different protocol such as http, ftp, imap4, and even through window explorer. But I still not understand how the backgroup process

  • Remote won't go past "Music" screen

    I just purchased a new iMac G5. When I press the menu button on the remote, it takes me to the Music screen, but none of the other buttons have any effect. And I sometimes have to press the menu button a couple of times before it does anything. I've

  • BI Content Server

    Have BI 11.1.1.6 installed in a Win 2008 R2 64-bit environment. Trying to make BI server a windows service. That part is successful, however bicontent server fails to start. It is the only service that fails, but if started through the start bi servi

  • Filesharing worked, then it stopped working no system changes

    Hello all, I have a problem that boggles my mind. I mean, really boggles my mind. I have my iMac, and 2 external drives plugged into it, sharing media content with my 2 windows computers. Now, I should mention, internet works fine on all pc's all can