Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9119283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:21:33+00:00 2026-06-17T05:21:33+00:00

Net website using forms authentication that is going to be crawled by a Google

  • 0

Net website using forms authentication that is going to be crawled by a Google Mini appliance for site search. The GMini is a bit old and apparently does not support crawling a site using forms authentication. Presumably Gmini doesn’t persist the auth cookie, or perhaps it just doesn’t understanf login forms.

Is there a way that I can persuade IIS/.Net to treat all requests from the IP address of the GMini as being already logged in as a specific user which has access to the secured content?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T05:21:34+00:00Added an answer on June 17, 2026 at 5:21 am

    on global.asax you can use the Application_AuthenticateRequest and check if the user come from a list of ips, you loghim automatically as:

    protected void Application_BeginRequest(Object sender, EventArgs e)
    {
        // check that is not all ready logged in.
        if(HttpContext.Current.User == null || HttpContext.Current.User.Identity == null || !HttpContext.Current.User.Identity.IsAuthenticated)
        {
            // check if its on your Ip List, or check if(HttpContext.Current.Browser.Crawler)
            if(ListWithPassIps.Contains(HttpContext.Current.Request.UserHostAddress))
            {
                FormsAuthentication.SetAuthCookie("CrowlerLeftToSeethen@email.com", true);
            }
        }
    }
    

    The issue that may have is that the crawlers did not save the cookie, but I think that this log him for at least that session. The "CrowlerLeftToSeethen@email.com" can be a user that you made to see the page you like.

    You can also check if its request.Browser.Crawler and not by the ip that is more difficult to find the one of the major search engines.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an existing asp.net mvc website that uses basic forms authentication. The site
Here's the issue. I'm using ASP.NET Forms Authentication for an account balance type website.
I'm using Forms authentication in ASP.NET MVC website and I store user account login
I am using the built-in forms authentication that comes with asp.net mvc. I added
I have website that is ASP.NET with Forms Authentication, clicking the logout button does
I have an ASP.Net site using Forms authentication. One of the aspx pages loads
We have an MVC3 site that uses the ASP.NET Membership Provider with Forms Authentication
I have an Asp.Net MVC application using Forms Authentication that is published to the
i am using form authentication for my website which is written in ASP.Net, but
I have a ASP.NET website deployed under IIS uisng virtual directories. I'm using forms

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.