direct

Deny direct request using .htaccess

Is there any way to use .htaccess to deny direct Request to a specific part of my website e.g. www.example.com/XXXXX I only want to allow Referer only to XXXXXX. I know that I have to use HTTP_REFERER somehow to accomplish my goal but currently I am using other .htaccess rules and not sure how to combine all rules together. This is what...

How to get direct Reports from Active Directory

It was previously asked but I won't include it for me. Here is the code I'm using to include users from active directory to MS sharepoint: private static Collection GetDirectReportsInternal(string ldapBase, string userDN, out long elapsedTime) { Collection result = new Collection(); Stopwatch sw = new Stopwatch(); sw.Start(); str...