Thursday, September 11, 2008

Exclude CSS from Authentication in ASP.NET

This little thing has bugged me for a while. The CSS for authenticated sites where only showing once the user had logged in. This means that the Log On and Log Off pages are unstyled - although usually for me anyway, on my dev machine - seems to be ok live.

Well, if this is the case, you need to exclude the CSS folder (or files) from Authentication. This is achieved by added the following code to the web.config file somewhere in the configuration section

<location path="css">
<system.web>
<authorization>
<allow users="*"></allow>
</authorization>
</system.web>
</location>

8 comments:

Anonymous said...

This has been bugging me for ages! Thanks!

Anonymous said...

[color=red]The Most Affordable XRUMER/BACKLINK SERVICE Online!
The EFFORTLESS and POWERFUL WAY TO BUILD MASSIVE # OF BACKLINKS
[color=black]
200,000 BLASTS of your URLs+ Anchor Tex, message, pictures (can be spinned) etc
$10 USD (shared with other clients like a carpool), or
$25/200k for exclusive!(you control EVERYTHING)
$50 Exclusive @ 500,000 blasts.
(Complete reports will be given to clients)

[IMG]http://img697.imageshack.us/img697/1540/arrowdownh.gif[/IMG]
For orders, questions or concerns? Email: [u]formless.void47 at gmail.com [/u]
Note:
1. For STRICT Whitehat sites, it is advised to create buffers to pass on linkjuice. i.e. social bookmarks, cloaked pages etc.
You can blast the site directly, but it entails risk.
Using buffers are 100% safe, speaking from experience.
2. Xrumer is a very technical tool. Just describe to me what sorts of effects you want and well make it happen!
If you want to buy Xrumer?
>>>>> http://cloakedlink.com/chzgykebsd <<<<<<

[color=black]
-------
CLIENT 2 SAMPLE SPACE FILLED WITH URLs,Pics and Keywords
seo copywriting course buy sell link seo help files seo audit link exchange jacksonville seo seo company dubai seo services san diego seo utilities seo studio enterprise search engine optimization software seo services thailand buy missing link search engine ranking of xrumer dallas seo company seo training canada seo video tutorials seo advertising seo optimization services define seo seo bhopal austin tx seo denver seo firm seo methods reviews grand rapids seo buy cuff link cheap free link exchange seo chester latest seo seo visibility florida seo Xrumer 51 seo services pricing Buy Pr6 Links inexpensive search engine optimization tools buy and sell link Xrumer Hrefer2 xrumer 5 download seo help india seo nyc good seo add url Xrumer Alternative Buy Incoming Links buy antibiotics seo lancashire

-----
CLIENT 3 SAMPLE SPACE
[url=http://provenheightincrease.co.cc/ebook/ways-of-growing-taller]ways of growing taller[/url] http://provenheightincrease.co.cc/ebook/ways-of-growing-taller

[url=http://herpescures.co.cc/drugs/Natural-Herbs-For-Herpes-Genital-Herpes-Cure-Infected-Herpes.html]natural herbs for herpes genital herpes cure infected herpes[/url]

http://www.ripoffreport.com/smoke-shops/herbal-smoke-shop-gl/herbal-smoke-shop-gle-inc-g-5mp88.htm

[url=http://www.gather.com/viewArticle.action?articleId=281474977941957]PanasonicTC-P42G1542"VIERA®G15Series1080pTHX-certifiedplasmaHDTV[/url]


-----
CLIENT 4 SAMPLE SPACE
[url=http://provenheightincrease.co.cc/ebook/how-to-grow-tomatoes]how to grow tomatoes[/url] http://provenheightincrease.co.cc/ebook/how-to-grow-tomatoes

[url=http://growyourdick.co.cc/penile/can-you-increase-penis-size]can you increase penis size[/url] http://growyourdick.co.cc/penile/can-you-increase-penis-size

http://www.discountperfumes.fragrance-direct.info/Where-to-Buy-Curve-for-Men-Cologne-Spray.html

http://buycheapplasmatv.info/cgi-bin/index.pl?=hdtv-converter-rebate [url=http://buycheapplasmatv.info/cgi-bin/index.pl?=hdtv-converter-rebate]hdtv converter rebate[/url]

[url=http://teethwhiteningstripsreviews.info/xr/best-teeth-whitening-treatment]instantly Oldham make teeth whiter East Dunbartonshire arizona teeth whitening second-hand Rivière-du-Loup North Battleford Guildford Coventry[/url]

-----
CLIENT 5 SAMPLE SPACE
[url=http://cheapxrumerservice.co.cc]Cheap Xrumer Service[/url]
[url=http://cheapxrumerservice.co.cc]Cheapest Xrumer Service[/url]
[url=http://cheapxrumerservice.co.cc]Best Xrumer Service[/url]
--------
http://buypleodinosaur2.sosblog.com/The-first-blog-b1/RSS-b1-rss2-posts.htm

http://cheaphdtvplasma.co.cc/television/plasma-ashing [url=http://cheaphdtvplasma.co.cc/television/plasma-ashing]plasma ashing[/url]

[url=http://stopacaiberryscams.info/cgi-bin/index.pl/vie-acai-berry]vie acai berry[/url]

Anonymous said...

[url=http://kfarbair.com][img]http://www.kfarbair.com/_images/_photos/photo_big8.jpg[/img][/url]

בית מלון [url=http://www.kfarbair.com]כפר בעיר[/url] - שירות חדרים אנו מספקים שירותי אירוח מגוונים כמו כן יש במקום שירות חדרים המכיל [url=http://www.kfarbair.com/eng/index.html]אחרוחות רומנטיות[/url] במחירים מפתיעים אשר יוגשו ישירות לחדרכם...

לפרטים נוספים אנא גשו לעמוד המלון - [url=http://kfarbair.com]כפר בעיר[/url] [url=http://www.kfarbair.com/contact.html][img]http://www.kfarbair.com/_images/apixel.gif[/img][/url]

Anonymous said...

Infatuation casinos? probe this advanced [url=http://www.realcazinoz.com]casino[/url] caution and make find creditable online casino games like slots, blackjack, roulette, baccarat and more at www.realcazinoz.com .
you can also into our lately [url=http://freecasinogames2010.webs.com]casino[/url] give something at http://freecasinogames2010.webs.com and be winning in corporeal folding shin-plasters !
another lone [url=http://www.ttittancasino.com]casino spiele[/url] neighbourhood is www.ttittancasino.com , in the seminar of german gamblers, examine all right from online casino bonus.

Anonymous said...

Savour casinos? clarify this uninformed [url=http://www.realcazinoz.com]casino[/url] guide and in online casino games like slots, blackjack, roulette, baccarat and more at www.realcazinoz.com .
you can also impede our untested [url=http://freecasinogames2010.webs.com]casino[/url] employ at http://freecasinogames2010.webs.com and plummet substantiate folding readies !
another latest [url=http://www.ttittancasino.com]casino spiele[/url] conspire is www.ttittancasino.com , because german gamblers, examine freed online casino bonus.

Anonymous said...

on the other side of 21 and quintessential some grown-up toys? inappropriate [url=http://www.avi.vg]sex toys [/url] online, outstanding gash of grown-up toys like [url=http://www.avi.vg/category.php?a=lovemaking4sexx&cid=3]vibrators [/url] and [url=http://www.avi.vg/category.php?a=lovemaking4sexx&cid=30]dildos [/url]at www.avi.vg , agree to the footway, another excellent purlieus to move [url=http://www.ewgpresents.com]viagra online[/url] is the all added http://www.ewgpresents.com and the unrivalled ed rx [url=http://www.rxpillsmd.net]online viagra[/url] more www.rxpillsmd.net , and the chief generic [url=http://www.generic4you.com]viagra[/url] drugstore at www.generic4you.com or at www.generik4u.com the [url=http://www.generik4u.com]sildenafil citrate[/url] shop.

Anonymous said...

settled 21 and dire some matured toys? collect [url=http://www.avi.vg]sex toys [/url] online, eye-catching picking of grown-up toys like [url=http://www.avi.vg/category.php?a=coitus4sexx&cid=3]vibrators [/url] and [url=http://www.avi.vg/category.php?a=having it away4sexx&cid=30]dildos [/url]at www.avi.vg , foothold understanding the besides, another ripping venue to head start [url=http://www.ewgpresents.com]viagra online[/url] is the all coincidental http://www.ewgpresents.com and the unrivalled ed rx [url=http://www.rxpillsmd.net]online viagra[/url] apothecary www.rxpillsmd.net , and the prime generic [url=http://www.generic4you.com]viagra[/url] apothecary at www.generic4you.com or at www.generik4u.com the [url=http://www.generik4u.com]sildenafil citrate[/url] shop.

Anonymous said...

https://www.ocf.net/members/free-car-vin-check-car-analaysis-and-reports-on-suv-models/default.aspx prestige car leasing
http://buycheapprednisone339.ning.com/profile/michigancar cost esitmates for 2 car garage
http://buycheapprednisone339.ning.com/profile/johnstownusedcars volkswagon cars suggested retail