The Network Administrator

The weblog of an IT pro specializing in virtualization, storage, servers and networking
  • rss
  • Home
  • About
  • Downloads
  • Contact

Implementing A Reverse Proxy with IIS 6

MWahl | July 29, 2010 | 6:21 pm

Windows server 2008 IIS7 has differnet proxy options, however IIS 6 does not have anything built in. So i found Managed Fusion URL Rewriter, which  is a powerful URL manipulation engine based on the Apache mod_rewrite extension. Here is a link to the Managed Fusion Documentation site http://www.managedfusion.com/products/url-rewriter/documentation.aspx

I found the easiest way to get started was to do the following steps.

1. Download the core files from http://urlrewriter.codeplex.com/releases/36792/download/95504

2. Extract the downloaded files to a directory such as C:\websites\Proxy

3. Create a new IIS site, which will act as your reverse proxy.

4. Under home directory of the new site, select configuration, insert a new wildcard app, browse to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll, and uncheck the box to verify the file exists.

5. Browse to C:\websites\proxy or the name of the directory you created in step 2.

6. Open the ManagedFusion.Rewriter.txt file and delete everything in the file.

7. Insert the these two lines,

RewriteEngine On
RewriteRule ^/(.*) http://website or ip address/$1 [NC,P]

Comments
Comments Off
Categories
Web Servers
Comments rss Comments rss
Trackback Trackback

New to PowerShell? Try powergui!

MWahl | July 13, 2010 | 10:59 pm

Similar to the Exchange Management console it shows you the powershell script that was used!

Here is the site, and there is a tab to download.
http://powergui.org/index.jspa

Dont forget to check out the PowerGUI Library for more add-ons
http://powergui.org/kbcategory.jspa?categoryID=21

Tutorials Page
http://powergui.org/tutorials.jspa

Comments
Comments Off
Categories
Scripts, Windows Server, Windows tools
Comments rss Comments rss
Trackback Trackback

Scan file shares on your network and view their security settings to close security holes with ShareEnum

MWahl | July 13, 2010 | 10:42 pm

This is pretty cool and gives you an idea of most shares and permissons off your servers.

From http://technet.microsoft.com/en-us/sysinternals/default.aspx

http://technet.microsoft.com/en-us/sysinternals/bb897442.aspx

Comments
Comments Off
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

View The Security of an NTFS Folder

MWahl | July 13, 2010 | 9:18 pm

Often times this isnt a big deal if there are only a few people or groups, but when there are a lot of people and groups its nice to use the two commands to pump out the info,

To List the security of a folder

From a command prompt type the following,
C:\>cacls "D:\Business Development"
D:\Business Development BUILTIN\Administrators:(OI)(CI)F
DomainName.COM\UserName:(OI)(CI)C

To List the security of a folder and all sub content.

From a command prompt type the following,

C:\>cacls "D:\Business Development" /T

If you need a list of the members of a Security Group

From a command prompt on a Domain Controller type the following,
C:\>net group "Business Development" >Report.txt

Comments
1 Comment »
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

SharePoint Services 3.0 Site With Forms Based Authentication

MWahl | July 5, 2010 | 1:40 pm
 
The other day I needed to configure a new external partner sharePoint site with forms based authentication. I also need to give users the ability to change their passwords when they wanted to. In the past we had used Active directory accounts which was ok, just not the best for this situation.

  

You will need to download the Visual Web Developer 2008 Express Edition Http://go.microsoft.com/?linkid=7729281 
 
 Head to the sharePoint Administration page and create a new web application under SharePoint Web Application Management.Authentication provider should be set to NTLM, allow anonymous set to Yes,
 
Once you have the new web app created, head to Application providers under Application Security. Make sure to select the correct web app from the drop down located on the upper right. For now you should see a default Zone and the membership provider name should be Windows.
Now access the url of the newly created web app from the step above, you may need to login as the primary admin of the site. once in, select site actions, site settings, advanced permissons, setting, Anonymous Access, select Entire Website.
Hopefully by now you have installed Visual Web Developer 2008 Express Edition on the server. First, create a directory called UserManagement and remember where you created it. Open the IIS manager, find the website site that  relates to the web app you created earlier, create a new virtual directory and point it to the UserManagement directory, select Read and Run Scripts. Make sure that this UserManagement directory run with the same app pool as the web app site. The rest of the configuration can be done by watching this video.
SharePoint Services 3.0 Forms Authentication
 Make sure that the user identity running your under your web site app pool has access (data reader and writer) to the Aspnetdb. Also i added a user password reset control to the UserManagement default.aspx page so users can rest their passwords.
 <asp:changepassword runat=”server”></asp:changepassword>
 
 The last thing is to configure a second extranet Zone by extending your web App.

 

I followed this post and I had no issues at all getting this to work.
http://grounding.co.za/blogs/brett/archive/2008/01/09/setting-up-dual-authentication-on-windows-sharepoint-services-3-0-forms-and-ntlm.aspx
Comments
2 Comments »
Categories
Microsoft Sharepoint Services
Comments rss Comments rss
Trackback Trackback

some text

RSS Netcast

  • Increasing your AWS EC2 root partition (Windows) December 14, 2011
  • IIS SSL Certificate into Amazon Elastic Load Balancer December 7, 2011
  • Upgrade an Opsview Appliance August 13, 2011

Categories

  • Activesync (1)
  • Amazon EC2 (5)
  • Amazon S3 (2)
  • Antivirus (1)
  • Blackberry (9)
  • Blackberry Enterprise Server (1)
  • blogs (3)
  • Cisco (6)
  • Citrix Xenapp (2)
  • Databases (2)
  • HTC (1)
  • Internet Explorer (1)
  • iPhone (4)
  • Linux Server (18)
  • Linux tools (11)
  • Microsoft Apps (2)
  • Microsoft Exchange (12)
  • Microsoft Office (1)
  • Microsoft Sharepoint Services (1)
  • Microsoft SQL Server (3)
  • Monitoring (2)
  • MS IIS 6 (1)
  • MYSQL (1)
  • NetCast (3)
  • Networking (19)
  • OpsView/Nagios (1)
  • Photos (1)
  • RAID (1)
  • Scripts (4)
  • Secure FTP (1)
  • Security (10)
  • Smart Phones (1)
  • Tech Preview (8)
  • Uncategorized (40)
  • Virtual Servers (4)
  • Web Browsers (2)
  • Web Server load balancing (1)
  • Web Servers (9)
  • Windows Desktops (17)
  • Windows Server (24)
  • Windows tools (23)
  • WordPress (1)

Recent Posts

  • Increasing your AWS EC2 root partition (Windows)
  • IIS SSL Certificate into Amazon Elastic Load Balancer
  • Upgrade an Opsview Appliance
  • AppAssure Replay First Impressions
  • Linux Boot Process

Archives

Blogroll

  • IT Pro Security Community
  • Jeff Stevenson
  • kevin devin
  • lopsa lopsa
  • MWahl social.microsoft.com
  • Network Security
  • Petri
  • SVROPS
  • Technology blog from bbc
  • technology review
  • THE WAN LAN LORD
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox