ASP Login

I'm trying to automate a process of downloading a file from a website. The thing is that I have to fill in the username and password then click a button on this website. This webpage is using ASP. I have checked with the company maintaining the website and they don't have another protocol for downloading that file. I know this can be done in VB.NET, can this be done in Java?
Thanks.

sure you can do this in java.
for example just create an URL Object containing all the nessecary paramaters like userid and password and then make an URLConnection with that URL Object to the website and read in the answer. Then just save it to a file an here you go. No big thing.

Similar Messages

  • ASP login success by authorization

    I am trying to create a login page in ASP where, on login
    success, the the user is directed to one of three separate pages.
    The SQL Table is LogIn
    The user name column is "email"
    The Password column is "password"
    The Access column is "permission"
    (If I create a simpler page where access is restricted by
    permission, then that works. So it would seem that the recordset is
    correctly set)
    Here is the code that I cannot get to work:
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <!--#include file="Connections/Fetchit.asp" -->
    <%
    Dim logIn
    Dim logIn_cmd
    Dim logIn_numRows
    Set logIn_cmd = Server.CreateObject ("ADODB.Command")
    logIn_cmd.ActiveConnection = MM_Fetchit_STRING
    logIn_cmd.CommandText = "SELECT * FROM fetchit_admin.LogIn"
    logIn_cmd.Prepared = true
    Set logIn = logIn_cmd.Execute
    logIn_numRows = 0
    %>
    <%
    ' *** Validate request to log in to this site.
    MM_LoginAction = Request.ServerVariables("URL")
    If Request.QueryString <> "" Then MM_LoginAction =
    MM_LoginAction + "?" + Server.HTMLEncode(Request.QueryString)
    MM_valUsername = CStr(Request.Form("email"))
    If MM_valUsername <> "" Then
    Dim MM_fldUserAuthorization
    Dim MM_redirectLoginSuccess
    Dim MM_redirectLoginFailed
    Dim MM_loginSQL
    Dim MM_rsUser
    Dim MM_rsUser_cmd
    MM_fldUserAuthorization = "Permission"
    MM_redirectLoginSuccess = "ALoginSuccess.asp"
    MM_redirectLoginFailed = "ALoginFail.asp"
    MM_loginSQL = "SELECT email, Password"
    If MM_fldUserAuthorization <> "" Then MM_loginSQL =
    MM_loginSQL & "," & MM_fldUserAuthorization
    MM_loginSQL = MM_loginSQL & " FROM fetchit_admin.LogIn
    WHERE email = ? AND Password = ?"
    Set MM_rsUser_cmd = Server.CreateObject ("ADODB.Command")
    MM_rsUser_cmd.ActiveConnection = MM_Fetchit_STRING
    MM_rsUser_cmd.CommandText = MM_loginSQL
    MM_rsUser_cmd.Parameters.Append
    MM_rsUser_cmd.CreateParameter("param1", 200, 1, 50, MM_valUsername)
    ' adVarChar
    MM_rsUser_cmd.Parameters.Append
    MM_rsUser_cmd.CreateParameter("param2", 200, 1, 50,
    Request.Form("password")) ' adVarChar
    MM_rsUser_cmd.Prepared = true
    Set MM_rsUser = MM_rsUser_cmd.Execute
    If Not MM_rsUser.EOF Or Not MM_rsUser.BOF Then
    ' username and password match - this is a valid user
    Session("MM_Username") = MM_valUsername
    If (MM_fldUserAuthorization <> "") Then
    Session("MM_UserAuthorization") =
    CStr(MM_rsUser.Fields.Item(MM_fldUserAuthorization).Value)
    Else
    Session("MM_UserAuthorization") = ""
    End If
    ' redirect user based on Access level
    If Session("MM_UserAuthorization") = "Admin" Then
    MM_redirectLoginSuccess = "1index.asp"
    ElseIf Session("MM_UserAuthorization") = "Account" Then
    MM_redirectLoginSuccess = "2Index.asp"
    Else MM_redirectLoginSuccess = "3index.asp"
    End If
    if CStr(Request.QueryString("accessdenied")) <> "" And
    false Then
    MM_redirectLoginSuccess =
    Request.QueryString("accessdenied")
    End If
    MM_rsUser.Close
    Response.Redirect(MM_redirectLoginSuccess)
    End If
    MM_rsUser.Close
    Response.Redirect(MM_redirectLoginFailed)
    End If
    %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <form id="form1" name="form1" method="POST"
    action="<%=MM_LoginAction%>">
    <input type="text" name="email" id="email" />
    <input type="text" name="password" id="password" />
    <input type="submit" name="button" id="button"
    value="Submit" />
    </form>
    </body>
    </html>
    <%
    logIn.Close()
    Set logIn = Nothing
    %>

    Are you saying that the code below does not work?
    ' redirect user based on Access level
    If Session("MM_UserAuthorization") = "Admin" Then
    MM_redirectLoginSuccess = "1index.asp"
    Else
    If Session("MM_UserAuthorization") = "Account" Then
    MM_redirectLoginSuccess = "2Index.asp"
    Else MM_redirectLoginSuccess = "3index.asp"
    End If
    if CStr(Request.QueryString("accessdenied")) <> "" And
    false Then
    MM_redirectLoginSuccess =
    Request.QueryString("accessdenied")
    End If
    MM_rsUser.Close
    Response.Redirect(MM_redirectLoginSuccess)
    End If
    MM_rsUser.Close
    Response.Redirect(MM_redirectLoginFailed)
    End If
    %>

  • Read asp-session or cookie

    hi!
    there's an asp-login page that holds a session with login information.
    this asp page then calls my jsp page.
    the problem is that i wanna access this login information stored in the asp-session from my jsp.
    how can i archieve this?
    is there a way to access to the asp-session or the cookie?
    thx in advance

    easiest way is to forward response from ASP (these ASP has to be invoked after the login form is submitted - post method) to JSP and get the required parameter
    there are two possibilities
    1) directly u get values of by request.getParameter("username")
    0r
    2) pass parameter and values from ASP page as myjsppage?username=test
    hope these solve your probs...my prob is dukes...
    bye for now
    Pranav

  • Simple Question - loginblock.ascx

    Hi,
    I apologize in advance for what I'm sure is a simple question!.
    I'm not familiar with C# at all and am pretty new to ASP.NET, therefore I'm keeping the level of customization to a minimum during phase 1 of our website. However, I would like to add a remember me checkbox to the loginblock.ascx. I have followed the normal asp rules for adding this checkbox to the layouttemplate but it makes no difference to whether a user is remembered. Looking at the code it would seem that the remember me value is always passed as false:
    protected void loginMain_LoggedIn(object sender, EventArgs e) {
            NPUser user = new NPUser(loginMain.UserName);
            ((NPBasePage)Page).Login(user.UserID, user.AccountID, false);
    All I would like to do therefore is control that value with a checkbox, so I thought this code would work:
    protected void loginMain_LoggedIn(object sender, EventArgs e) {
            NPUser user = new NPUser(loginMain.UserName);
            ((NPBasePage)Page).Login(user.UserID, user.AccountID, checkbox1.Checked);
    It doesnt, the control no longer loads. As a matter of interest I replaced checkbox1.checked with other controls on the page, and with the exception of the login and main panels, none of the other controls could be referenced either without generating an error. I'm obviously missing something fairly fundamental here, and would appreciate any help.
    Thanks!.

    I have manually changed the value to true, and it triggers the process that automatically logs a user on at the next visit.
    This is currenty where my checkbox resides, although it I have moved it around to see if it made any difference!.
    <asp:Login ID="loginMain" runat="server" OnLoginError="loginMain_LoginError"
        OnLoggedIn="loginMain_LoggedIn"   >
        <LayoutTemplate>
        <table class="nptable" style="width: 265px; border-top-style: none; border-right-style: none; border-left-style: none; background-color: #c8bb89; border-bottom: white 5px solid; padding-left: 5px; ">
            <tr>
                <td class="npbody" style="height: 25px">
                 <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" Font-Bold="true" Font-Size="11px">User Name:</asp:Label><br/>
                 <asp:TextBox ID="UserName" runat="server" Width="110px" BackColor="White"></asp:TextBox>
                </td>
                <td style="white-space:nowrap; height: 25px;" class="npbody">
                 <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" Font-Bold="true" Font-Size="11px">Password:</asp:Label><br/>
                 <asp:TextBox ID="Password" runat="server" TextMode="Password" Width="80px"></asp:TextBox>
                 <asp:LinkButton ID="LoginButton" runat="server" CommandName="Login" Text="Log In"></asp:LinkButton>
                </td>
            </tr>
            <tr>
             <td colspan="2" style="height: 14px">
                <asp:CheckBox ID="checkbox1" runat="server" ></asp:CheckBox>
            </td>
            </tr>
        </table>
        </LayoutTemplate>
    </asp:Login>

  • Log in User Issues

    In the past I have easily utilized teh Log in User behavior
    in DW. I am trying to create a basic asp login and I cannot get it
    to work. I can connect to the DB fine in DW, but when the page is
    online either it won't come up unless I remove the behavior OR it
    will come up but won't recognize the correct UN and password.
    I then tried to use the Ultrasuite behavior and still no
    results... I have attached the code to the message. I am not a high
    level asp person, but have always been able to meet basic needs
    within dreamweaver.
    Thank you,
    Jennifer

    Jennifer
    This may not be the issue but 'Password' is now a reserved
    SQL word on a
    number of servers, resulting is syntex errors. Try renaming
    the field and
    the code and see if it works.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "sylar47" <[email protected]> wrote in
    message
    news:[email protected]...
    > In the past I have easily utilized teh Log in User
    behavior in DW. I am
    > trying
    > to create a basic asp login and I cannot get it to work.
    I can connect to
    > the
    > DB fine in DW, but when the page is online either it
    won't come up unless
    > I
    > remove the behavior OR it will come up but won't
    recognize the correct UN
    > and
    > password.
    >
    > I then tried to use the Ultrasuite behavior and still no
    results... I have
    > attached the code to the message. I am not a high level
    asp person, but
    > have
    > always been able to meet basic needs within dreamweaver.
    >
    > Thank you,
    >
    > Jennifer
    >
    >
    > <%@LANGUAGE="VBSCRIPT"%>
    > <!--#include virtual="/Connections/connActeen2.asp"
    -->
    > <%
    > ' UltraSuite_Security_101: Main Login Application
    >
    > Response.CacheControl = "no-cache"
    > Response.AddHeader "pragma", "no-cache"
    > Response.Expires = -1500
    >
    >
    >
    > Dim rsLogin__strUsername
    > rsLogin__strUsername = "1"
    > If (Request.Form("txt_username") <> "") Then
    > rsLogin__strUsername = Request.Form("txt_username")
    > End If
    >
    >
    > Dim rsLogin__strPassword
    > rsLogin__strPassword = "1"
    > If (Request.Form("txt_password") <> "") Then
    > rsLogin__strPassword = Request.Form("txt_password")
    > End If
    >
    >
    > Dim rsLogin
    > Dim rsLogin_numRows
    >
    > Set rsLogin = Server.CreateObject("ADODB.Recordset")
    > rsLogin.ActiveConnection = MM_connActeen2_STRING
    > rsLogin.Source = "SELECT * FROM db_acteen2.tbl_college
    WHERE Username =
    > '" +
    > Replace(rsLogin__strUsername, "'", "''") + "' AND
    Password = '" +
    > Replace(rsLogin__strPassword, "'", "''") + "'"
    > rsLogin.CursorType = 0
    > rsLogin.CursorLocation = 2
    > rsLogin.LockType = 1
    > rsLogin.Open()
    >
    > rsLogin_numRows = 0
    >
    > strRedirectToPreviousPage = ""
    >
    >
    > ' if form has been submitted
    > If Request.Form("Submit") <> "" Then
    >
    > ' and username and password match
    > If Not rsLogin.EOF Or Not rsLogin.BOF Then
    >
    > ' set userid and username fields to session variables
    > Session("svUserID") =
    (rsLogin.Fields.Item("UserID").Value)
    > Session("svUserName") =
    (rsLogin.Fields.Item("Username").Value)
    >
    > ' if a restricted page has been saved to a session
    variable
    > ' and if user should be redirected to it
    > If Session("svProtectedURL") <> "" AND
    strRedirectToPreviousPage = "true"
    > Then
    >
    > ' redirect to previous URL
    > Response.Redirect(cStr(Session("svProtectedURL")))
    >
    > Else
    >
    > ' otherwise redirect to the login successful page
    > Response.Redirect("alumniONLY.asp")
    >
    > End If
    >
    > Else
    >
    > ' if username and password do not match then redirect to
    login failed
    > page
    > Response.Redirect("sorry.asp")
    >
    > End If
    >
    > End If
    > %>
    >

  • Custom login.asp

    Hi all,
    I have made a copy of the Login.asp file in C:\Program Files\Microsoft Forefront Unified Access Gateway\von\InternalSite\CustomUpdate.  I have also configured the trunk to use 'CustomUpdate/Login.asp' and activated the configuration.  The
    changes that I made to the file are not applying.  The problem I am running into is that the Login Page for my OWA sites are displaying username, 'authentication group(AD)' password, 'authentication group2(RSA)' password.  I'm trying to change the
    'authentication group(AD)' password to just say 'password' and the 'authentciaton group2(RSA)' to say 'passcode'.
    Any suggestions or reasons why the changes within the custom login.asp are not being applied when I make changes to it?

    Hi,
    From your description, I know you want to customize login page with widows authentication.
    To custom login page with widows authentication, you should configure your web application web.config file to authenticate current user credential against Active Directory.
    You can custom your login page by refer to these similar cases:
    https://social.technet.microsoft.com/Forums/en-US/88aef0ed-423f-4404-8b4b-d5649c651e03/how-to-create-a-custom-login-page-for-windows-authentication-in-sharepoint-2013?forum=sharepointdevelopment
    https://social.technet.microsoft.com/Forums/en-US/b796c93a-f5c1-442b-ba13-9a9a2d3bfdae/custom-login-page-with-windows-authentication?forum=sharepointdevelopment
    Best Regards
    Vincent Han
    TechNet Community Support

  • When trying to log in to my online bank, I get error '80004005' default.asp.line48. What is this? I can login using another browser, but not on Firefox, which is my first choice. in English

    I have used this online banking account for several years. Now it seems Firefox is not allowing me to see the login page. I used msn.com to try it and it worked. So it's Firefox that is the problem.

    I just experienced this problem. The solution was to delete your cookies for tdbank (tools, options, show cookies)
    I suspect there is something in the cookie that points to a database or some server that currently isn't active - it's 1AM now, so probably have a backup server up while they do maintenance or something like that.
    Most likely the login page will have worked the next day for me.

  • SSO Login Page Error

    Can anyone solve this issue??
    We are developing ASP.Net application with oracle 10g Application server for single sign-on.
    we need to map the IIS URL(eg /private/*), redirecting to Oracle Application server,authenticate it and get the result back
    to IIS.
    As of Oracle Document we installed and configured proxy plugin and SSO plugin in IIS,and registered a partner application
    using ossoreg.jar command and it was successfully redirecting to the Single Sign-on login page
    but the problem is, after I click Login button it gives "page not found" error
    and the URL read as "http://<host.domain>:<port>//sso/auth"
    A normal login through SSO doesnt give any error...
    Do we need to change some config in policy.properties configuration file??
    Please reply, if anyone identified the problem.
    Regards
    Guhan

    Hi,
    I have triued the same thing here ... linking to a protected url on an IIS server. Initially I had similar problems. Check your plugin.conf file and make sure your login server file is defined correctly ... no " and use the Windows path conventions.
    Also, I thought I had directed the config file (osso.conf) to be in the directory i had created but it showed up in oracle_home/apache/apache/conf/osso. You may need to move it.

  • Login to WebApi (MVC + WebApi) with Microsoft Account from Windows Store App

    Hi
    How can I access a WebApi Controller (ASP.NET MVC+WebApi) that is secured with Microsoft Account from a Windows Store App?
    I have no idea how to login. I tried the LiveSDK but this gives me only access to OneDrive, Callender and so on.
    Could someone please point me in the right direction.
    Thanks
    Guenter

    Hi Guenter,
    To be clear, you are using Microsoft account as login and at same time you have your own REST service for other functionalities?
    Let's say if you login with LiveSDk, you should be able to get some access token, see this for more information:
    Signing users in, after that use the token to access your REST service, as I understand REST service is a kind of http request, we can use HTTPClient to request data from the address.
    I'm afraid there is no existing sample here but the only thing I found is HTTPClient sample:
    https://code.msdn.microsoft.com/windowsapps/HttpClient-sample-55700664, you can use POST to send your token information to the server.
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Classic ASP on IIS - Timeout Session not expiring

    I have an classic ASP website on IIS(both IIS 6,and 8) and both perform the same. We've had this issue for years on IIS 5,6,7,8 and never could figure it out. I have a session timeout setting on the IIS application pool of 120 minutes. I do not have
    a session.timeout setting in any of the ASP code itself. I do have a Session.Abandon in the global.asa file, which works well.
    Most of the time if a user is idle for > 120 minutes, it gives them a message that their session has timed out, expires the session and redirects them back to the login page. This is how it should work and 95% of the time is does.
    The issue I have is that about 5% of the time, some users seem to be able to keep the session alive beyond the 120 minutes. Some for days.
    I'm wondering if anyone has any ideas what could cause this? Some ideas that I thought of are below...but I really don't know.
    I assume they keep their browsers open for days, but could a user that has a browser window open but sitting idle AND on another TAB of that same browser be active on other websites? Does that activity make the TAB with my application still active/not idle?
    I've tested this on several environments but not able to replicate.
    Some type of software like a URL filter, proxy server or Antivirus could be causing their browser to not be idle?
    Of course a user can keep the session idle if they use the app beyond the 2 hours, but it is rather unlikely they do this, especially for days.
    Its hard to troubleshoot since the users are all customers with different browsers and environments. So I have no clue if its a certain browser, browser version, or their PC/network environment.
    Any ideas?
    pablo

    Hello,
    forums.iis.net also has a Classic ASP forum.
    As Microsoft's IIS forums are on a different platform, we cannot move the question for you.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Research on the Security of NGDC Based on ASP

    Research on the Security of NGDC Based on ASP
    Zhang Li Gong Jianya Zhu Qing
    Key Words
    active server pages (ASP); national geospatial data clearinghouse (NGDC); geographic information system (GIS); Internet
    Abstract
    On the basis of the authors? experience of setting up an NGDC Web site, this paper attempts to present some significant aspects about the security of NGDC based on ASP. They include data storing, database maintenance, new technical support and so on. Firstly, this paper discusses how to provide the security of data which is saved in the host of NGDC. The security model of ?New works ?DB Sever-DB-DB Object? is also presented. In Windows NT Server, Internet Information Server (I IIS) is in charge of transferring message and the management of Web sites. ASP is also based on IIS. The advantages of virtual directory technique provide by IIS are emphasized.
    An NGDC Web site, at the Research Center of GIS in Wuhan Technical University of Surveying and Mapping is also mentioned in this paper. Because it is only an analogue used for case study, the transmission of digital spatial products is not included in the functions in this NGDC Web site. However, the management of spatial metadata is more important and some functions of metadata query are implemented in it. It is illustrated clearly in the functional diagram of the NGDC Web site.
    1 Introduction
    Needless to say, it is very important for most GIS users to acquire and integrate the geospatial information from various districts. However, the current situation of geospatial information production and dissemination in the world is still unsatisfactory. On one hand, users do not know where the geospatial data files are stored and what geospatial data is useful for their applications, or have not necessary computer facilities. On the other hand, due to the lack of coordination and cooperation, the duplication of geospatial data production widely exists. Most of geospatial information is stored by different organizations including governmental organizations, commercial companies. What?s more, the lack of geospatial data exchange and sharing mechanism results in relative low benefit of geospatial data use. It is difficult for some products to get necessary information from other producers to integrate with or to update their own databases. In short, the value of geospatial information has not been shown exactly in GIS industry of China.
    It is obvious that the information distribution technique based on Internet can play a great role in GIS industry. National Geospatial Data Clearinghouse users will be able to query what geospatial data is being produced, how about is quality, where it is produced, and how to get the geospatial data economically and conveniently.
    2 NGDC and ASP technology
    As mentioned above, NGDC is a geospatial information distributed network system which is concerned with geospatial data producers, managers and users. So the relationship among them must be harmonized. The NGDC provides the service of geospatial information through internet. In detail, it will allow various data formats to exist in this opened geospatial information service system and it supports the share and query of the geospatial data from different sources. The main mission of NGDC is to offer a means of fast, efficient, safe, economical service of geospatial data provision to users. At the same time, it will offer means for data providers to advertise their new products and collect users? demands and feedbacks in order to promote the geospatial data production.
    To date, the model of NGDC is usually described as a provider-oriented model. In this model, every geospatial data provider is linked with internet as an NGDC node... user?s access NGDC nodes through internet and browses the catalogues of geospatial data stored in NGDC, and then they query the metadata about the available products for their applications. After selecting the desired data set, the user can send an order to the relevant producer on-line or by E-mail system. If users can not find the geospatial data available in this NGDC node for their applications, they will be able to access other NGDC nodes.
    So the construction of NGDC is concerned with the planning and maintenance of dynamic Web sites linked with internet. Since Active Server Pages (ASP) came out with its peculiar characteristics several years ago, which is applied to the construction of more and more dynamic Web sites in the diverse fields? In comparison with common gateway interface (CGI), ASP is more effective and flexible as a server scripts environment.
    With html pages, script commands and active X components, ASP can set up dynamic, interactive and efficient Web server programs. It is not important whether browsers can run those ASP codes, because all of ASP programs including scripts plugged in html, such as VBScript, JScript, are executed in servers. ASP programs will send a series of commands to the script engine, and then the script engine translates the commands into some codes which can be executed by servers. After running the executive codes, the results will be sent by servers to users? browsers in html. In this way, it is sufficient for browsers to have basic function of browse. As a result, the speed of the system increases rapidly.
    NGDC Web site provides users with a catalogue of geospatial data entity, data entity and the relevant metadata. Therefore it is inevitable to access various databases in the construction of NGDC. It is convenient to connect database systems with ASP plug-in Active X components, so Web pages can be linked to all kinds of databases which provide ODBC interfaces for other programs. Active X components provide the objects whose tasks are to finish certain functions. So Active X components are of great significance in setting up Web programs.
    3 Research on security of NGDC
    This paper attempts to present some significant aspects about the security of NGDC base on ASP, such as data storing, database, maintenance, new technical supporting and so on.
    3.1 Security of data storing
    The information stored in NGDC includes geospatial data, relevant metadata and catalogues of data products. The maintenance of all the information is a very hard task. Of course, the security of data storing is included in it. From the point of system maintenance, the security of data storing in NGDC is concerned with disk error-tolerance and back-up supporting.
    With the rapid development of manufacturing technique of hard disk, the life-span of hard disk has been lengthened. Disk error-tolerance decreases usually the possibility of data-losing because of errors of hard disks. It is inevitable that some errors cannot be limited in spite of any error-tolerance system. In order to maintain the security of data, the significance of data should be assessed firstly and so should the loss of data-losing. There are three kinds of dump plans for database or data files: full data dump, increment data dump and combination of them. As in NGDC the need of data back-up depends on its significance.
    3.2 Security of database maintenance
    As for popular large-scale database systems such as Microsoft SQL Server, Sybase, Oracle, Informix, security maintenance is implemented by four levels of ?New works ?DB Sever-DB-DB Object? security model. Every user has his network login ID and his password, with which the user ID and the password, users can login into network. Take Windows NT Server for example, Windows NT Server provides some security maintaining methods such as encoded password, minimum password length and so on.
    In general, network cannot automatically permit its network users to access databases in it. The fact that a user can access databases does not mean that he can automatically access databases in it. Only those users who have their database user IDs stored in system tables in database can access database.
    3.3 Security with ASP
    In the environment of Windows NT Server, Internet Information Server (IIS) is in charge of distributing information and maintenance of Web sites. ASP is also based on IIS. When users access some ASP files in their browsers, the relevant ASP scripts will run in server and the results will be sent users in Web pages.
    Virtual directories are different from physical directories in hosts or servers. Net work administrators may make good use of the mechanism of virtual directory in order to maintain the security. IIS supports virtual directory which plays a great role in the security maintenance of Web sites. Firstly, virtual directory conceals the information about actual directory structure. In normal browsers, users can get the path information of a certain Web site; the directory information of Web sites will be exposed to users linked with Internet. As a result, it is easy for the Web sites to be attacked by hikers. Secondly, it is convenient to transfer the WWW service from one server to another without updating the code in Web pages if there is the same virtual directory structure in two servers. Finally, when putting Web pages into virtual directories, administrators can assign different attributes to the directories. For example, in the construction of NGDC Web site, it is important to put normal html files and ASP files into different virtual directories. The attribute of directories in which normal html files are stored may be ?Read? while the attribute of directories in which ASP files are stored may be ?Execute?. On one hand, it simplifies the maintenance and management of NGDC Web sites. On the other hand, ASP source files will never be sent to user browsers. In other words, hikers cannot get the ASP source codes through their browsers. Thus it improves the security of ASP files.
    4 An NGDC model Web site in WTUSM
    Some other security aspects in operational model, programming, management in the plan and construction of NGDC should be concerned. As an example the construction of an NGDC model Web site is presented below in order to explain the security maintenance of NGDC in detail. On the basis of authors? research on relevant problems, this NGDC model Web site was planned and deployed in early 1999. As a model project, the purpose of construction of this Web site is to provide some useful experiences for other projects on NGDC. Therefore the process of geospatial metadata plays a great role in this Web site. In fact, there are not actual geospatial data products stored in this NGDC model Web site. The main task of this Web site is to provide relevant geospatial metadata services, so the functions of data product maintenance cannot be found. Geospatial metadata is stored into meta-database in Microsoft SQL Server. With ?New works -DB Sever-DB-DB Object? security model in Microsoft SQL Server, the relations between user and access rights are set up. In order to simplify the problem, those two tasks are assigned to two DB users. One is a user who is the owner of DB objects. (Of course, he has all rights to access, update and delete DB objects); the other is a normal user who can only access DB objects such as tables. While developing ASP programs in the integrate developing environment of Microsoft Interdev, the functions may be fulfilled by script programs running either in clients or in servers. As a result, it improves the confidentiality of ASP programs and the efficiency of NGDC service system.
    In the NGDC Web site, something has been done in order to improve the security of operation: a table named providers? information table is stored in NGDC to keep some useful information about relevant geospatial data providers, such as name, ID, passwords, contact methods and son on. The information may be a long, irregular string whose length is less than 1024. It is produced and maintained by NGDC. The providers? information table is stored in the server in NGDC. In this way, data producers provide geospatial products together with their identifying information through Internet.
    5 Conclusions
    In short, it is very convenient and efficient to distribute geospatial data in the NGDC nodes through internet. On the other hand, with the development and construction of NGDC, there will come more and more challenges and problems about the security of NGDC. Obviously some researches and discussions in this field need to be further carried on.

    Jaya
    We have two ways to achieve this scenario
    1.Going with PCR where we Query No of Years Completed
    2. Going for Custom Function
    In the above two ways  we have to maintain the year of completion in Date Specification Either Manually or Thorugh Dynamic Action which shd automaticallly update....IT00041
    I prefer the second one since PCR is some wht complicated

  • Crystal Report and Classic asp

    Hello all,
    I want to know how to use ASP3.0(Classic) and Crystal Report10.0.
    I used Begin here sample from our forum but it is giving error
    like Error Occurred Reading Records: Logon failed. Details: ADO Error Code: 0x80040e4d Source: Microsoft OLE DB Provider for SQL Server Description: Login failed for user 'sa'. SQL State: 42000 Native Error: 18456
    Please help me in this regard asap.
    Thanks in Advance,
    Vamsi
    Edited by: vamsidhar on Sep 10, 2011 7:25 PM

    The reasons I want you to have SP 6 is because
    1) It is the latest fix release and I will not work on anything not patched with the latest fixes. E.g.; why test on an older runtime when the new one may already have the solution?
    2) You mentioned you want to be using IE 8. And as the blog I refered you to (Report Designer Component (RDC) in classic ASP applications on Win 2008 Server and Win 7 - Possible Solutions) states;
    "...this blog only applies to Crystal Reports XI release 2, patched up to Service Pack 6 ..."
    As to how to find SP 6. You could use the search box at the top right of this web page and type in "service pack 6 crystal" - without the quotes and the 5th hit is a KBase:
    [1421033  - Where to find Crystal Reports XI R2 Service Pack 6|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    Alternatively, you could go to the downloads page directly at http://service.sap.com/sap/bc/bsp/spn/bobj_download/main.htm, select the product and voila. Anyhow, SP 6 link:
    https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe
    SP 6 RDC MSM:
    https://smpdl.sap-ag.de/~sapidp/012002523100000634032010E/crxir2sp6_rdc_mm.zip
    Which you can also find at the above downloads page.
    BTW.; since you are a "newbee" in all of this, why not be a newbee in a technology that will take you some distance? CR XI R2 is the last version to ship the RDC (e.g.; RDC has been retired). Patch support had expired in June of this year. Any support expires next June. If you go with .NET or Java, you are assured years of support...
    Ludek

  • Crystal reports "Database login failed" when using push method

    I have a web application (ASP.NET, .NET v3.5), that pushes data to a CR 2008 report. On two servers one of the three reports returns a "Database login failed" error. I am stumped since there is no login, it's push not pull; in addition the problem is hard to debug since it works fine from my developers workstation. I have "updated" the xsd in that report, reinstalled the app, etc., non of which helped. If anyone has a solution or even ideas I'd appreciate the help.

    What about following the troubleshooting steps as described in the blog;
    Create an XML file off of your dataset. Make sure this is done just before you set the dataset to the report:
                rpt.Load(rptPath)
    myDataset.WriteXml(xmlPath, XmlWriteMode.WriteSchema)
    rpt.SetDataSource(myDataset)
    Copy the above created XML to your development system
    Open the problem report in the Crystal Reports designer
    In the Desigger, go to the Database menu and select u201CSet Datasource Locationu201D
    In the u201CReplace with:u201D pane, expand the u201CCreate New Connectionu201D folder.
    Double click the u201CADO .NET (XML)u201D icon
    Browse to the location of the XML file you created in step (1)
    Click on the path to the XML. The <Update> button should enable
    Click on the <Update> button
    Typically, either of the following will happen:
    You will get a u201CMap Fieldsu201D dialog. This indicates that the XML written off of your dataset does not match what the report is expecting. This may be due to incorrect fields name, incorrect field type, etc. You will now need eliminate the difference.
    Incorrect data or no data. There is an issue with your dataset and you need to determine why the data is not present in your dataset. Looking at the XML may be a good place to start.
    Ludek

  • Can't login to Azure from Visual Studio when creating new app.

    Hi,
    I already tried this at two different computers.
    Install VS 2013
    Get VS Update 2
    Get VS Web Essentials
    Get Azure SDK 2.3
    Launch VS, Log-in with MSDN acc.
    File-New Project - ASP.NET Web Application (pick MVC + Web API)
    Use "Create remote resource - Web Site"
    OK
    Get asked for Azure login again (sigh..)..I log in.
    Get error message: "Unable to create remote resource. 'One or more errors occured'" .. really? eh.. :D
    Ok, so now i try the Manage Subscriptions link to check the azure account.
    Nothing is there.so I guess I need to sign in again because my previous login got forgotten
    I log inagain.
    Get dialog with "The task argument contains no tasks. Parameter name: tasks"
    Ok, no Azure for me I guess.
    btw: I then logged into web Azure portal and noticed I am over the spending limit now, so my subscription was disabled, but if this is the case why I can't login to Azure from VS, then just tell me. Skip those unrelated (for me) error messages.
    Screenshot: 
    https://www.dropbox.com/s/06olj5icdn9brbo/Screenshot%202014-04-12%2013.23.00.png

    Hi,
    Based on your description, it seems that your azure subscription was over the spending limit, about this account issue, I suggest you contact with azure support, it's the best choice for you. Please contact support team by creating a support ticket at
    http://www.windowsazure.com/en-us/support/contact/
    Or if that doesn't work because you don't have an active subscription you will need to contact general customer support to have them create a support ticket for you
    http://support.microsoft.com/gp/customer-service-phone-numbers?wa=wsignin1.0
    About this incorrect error message, I suggest you submit this feedback at:
    http://feedback.azure.com/forums/34192--general-feedback
    Best Regards
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • An internal error has occurred in the secLdap plugin - CR XI (Login to Ent)

    Hi,
    We recently changed the authentication type on BO XI R2 Enterprise from Enterprise to LDAP mode and have been able to add and configure all the LDAP groups. We know that the authentication is successful as users have been able to successfully login via the Infoview/CMC.
    However, we are facing a problem from certian workstations (for example mine) when ever we try to login to BO Enterprise via the Crystal Reports XI client thorough LDAP as it gives the error 'An internal error has occurred in the secLdap plugin'. (PS: The Enterprise Authentication mode works) From what I have understood that this error is workstation specific as the same login is successfull from another workstation.
    The CR XI client on all the workstations are of the same version (11.0.0.1282)  but the Windows Updates differs. For e.g.: I have Windows XP SP 3 (with the latest of the updates with IE 8)
    Is there any updates to CR XI Client to solve this issue or am I missing something here?

    Your client is CR R1, your server is XI R2. This is a known bug. To fix you need BOE XIR1 SP3 or above. I'm not sure this was fixed in a CR service pack. Sorry I can't find a link for that right now.
    Or use [this link|http://resources.businessobjects.com/support/additional_downloads/service_packs/crxir2.asp] to get CR R2, uninstall CR R1, and replace with CR R2. NOTE: they should still use the same license keys. If using CR to XIR2 you should always keep the same version so this is the preferred method.
    Regards,
    Tim

Maybe you are looking for

  • Scenarios working although SLD connection failing

    I have a   R/3 (IDOC) -> XI -> R/3(Abap server proxy), running in production mode, the scenario is running fine, but if i do a SLDCHECK in the System, it gives following result: 1. Properties of RFC destination SAPSLDAPI: OK 2. Testing the RFC connec

  • Invoices report that displays also the VAT number

    Hi I am looking for invoices report that displays also the customer/vendor name and its VAT registration number. The customer invoices are SD invoices (can be displayed using the FI) and the supplier invoices are MM or FI invoices. It is relevant for

  • Clearing up my final balance after switching to br...

    I recently switched to another provider from BT broadband using a mac code supplied by BT the switch took place on Thursday 4th november 2010 with no problem. My query/problem is that still have a outstanding balance on my BT account this includes 3

  • Viewing QT .MOV files - failed again :(

    This has probably been covered but I've spent ages trying to find info and can't so I' asking on here. I downloaded a .MOV file then tried to open it using QT v10 - nothing, just got the error message: *The document "Episode 4.mov" could not be opene

  • Recording level meters

    When tracking, what do you use for level meters? So far I've found the mixer view, but those meters are small. For tracking I'd like to configure Logic as close to a tape recorder as possible. Good meters + transport controls and nothing else to dist