You can rephrase login to take both username and password in one of your scenarios, and it will globally apply, even for the code.
你可以用另一种方式登录,在你的一个场景中同时接受用户名和口令,它会应用到全局,甚至是代码。
For example, some companies want to approve every employee who registers on the site, while others prefer a self-service process where each employee must know a company code or password to register.
例如,一些公司希望批准每个在站点注册的员工,而其它公司可能更需要自服务的流程,每个员工必须知道公司代码或密码才能注册。
With the appropriate persuasion, increasing the security of your authentication schemes can be as easy as applying these control algorithms to your current password entry code.
通过适当的说服工作,增加身份验证方案的安全性可以像对当前密码输入代码应用控制算法一样简单。
The setup code is usually a few lines that describe the database such as the database driver, username and password, and where to find it.
设置代码通常由一些行构成,这些行是对数据库的描述,比如数据库驱动程序、用户名和密码,以及到哪里去找到它。
If the password isn't set correctly, you will receive a 137 error code.
如果没有正确设置密码,那么将收到一个137错误码。
Set up an unlock code for your screensaver and whistle as you approach your desk — no more bothersome password typing.
比如,为屏幕保护程序设置解锁代码并在接近电脑的时候吹一下口哨——再无需烦人的密码键入操作。
The code sample below, from the sample client application, requires the user to provide a username and password in the HTML form that allows a customer to be deleted.
下面的代码示例(来自示例客户端应用程序)需要用户以允许删除客户的HTML形式提供用户名和密码。
The first section of code below shows how to set up a simple password entry and confirmation program that takes into account the full timing of password entry.
下列代码的第一部分将展示一个简单的密码输入和确认程序,它将计算输入密码的完整时间。
Note that the account's username and password are never used in the code.
注意,帐户的用户名和密码在代码中从未用过。
To make sure that the code is working properly and that you aren't getting a false positive, change either the password in the code or the INI file and run the example again.
要确保代码正常工作且获得的不是一个误报,在代码内更改密码或更改这个INI文件并再次运行此示例。
You must configure the connection to the DB2 UDB database here, specifying the correct database name, the UserName, and the Password (unless you want to pass that in code at run-time).
这里必须将连接配置到DB 2UD b数据库,指定适当的数据库名、UserName和Password(除非您想在运行时在代码中传递这些字段)。
The input requirements are user name, password, data source, street address, city, state, zip code.
输入要求为用户名、密码、数据源、街道地址、城市、州、邮政编码。
If running Basic Authentication, that means a user is prompted to enter username and password, the HTML code will submit the credentials entered in two predefined FORM fields.
如果运行BasicAuthentication,就意味着提示用户输入用户名和密码,HTML代码会提交在两个预定义的表单字段中输入的凭证。
The sample code relies on passing user name and password to the JDBC driver and only if those credentials are successfully used to establish a DB connection the visa will be issued.
示例代码依赖于把用户名和密码传递给JDBC驱动程序,而且只有在使用这些凭证成功地建立DB连接的情况下,才会颁发visa。
Check the delegate role, and enter the user code and password mapped to the delegate role.
选中delegate角色,并输入映射到委托角色的用户代码和密码。
The Listing 2 code sets the username and password on the ServiceClient options, meaning these are defined for all operations using that service even though they're only used by a single operation.
清单2中的代码根据ServiceClient选项设置用户名和密码,意味着这些是针对使用该服务的所有操作定义的,即使它们只用于单个操作。
This code basically passes the user ID and password information of any user logging into the Web site along to the Web site of the attacker.
该代码通常会将任何登录到此web站点的用户的ID及密码信息传递到攻击者的Web站点。
Now that we've created the JSP, we'll write the code in the portlet to validate the user id and password and display the appropriate message.
既然已经创建了JSP,现在就让我们在Portlet中编写代码以验证用户ID和密码,并显示适当的消息。
This code assigns the tomcat user (with password 'tomcat') roles as part of the manager and admin groups.
此代码将tomcat用户密码为“tomcat”角色分配为manager和admin组的成员。
All I had to do was find out how to check the username and password using Active Directory Server, create a class to extend this interface, and add the code to perform the authentication.
我要做的只是了解如何使用ActiveDirectoryServer检查用户名和密码,创建一个类来扩展这个接口,并添加执行身份验证的代码。
Note: I used Apache Directory Studio to change the user's password to a value that I could put into the test code to make sure it worked.
注意:我使用ApacheDirectoryStudio来将用户的密码更改为一个能放入测试代码以确保它工作的值。
BestLogin.aspx contains code that compares the user-entered password with a salted hashed version of the password stored in the SecureUsers table (see Figure 7 ).
aspx包含用于将用户输入的密码与SecureUsers表中所存储密码的 salt 强化哈希版本比较的代码(参见图7)。
To get the demo code running, you need to enter your own credentials for username and password in the following line.
在代码执行之前,你必须输入你自己的用户名,密码。
The Listing 12 code snippet creates an oConnectionInfos object, initializes it with your username and password values, and then sets it in session scope.
列表12代码片段建立了一个oConnectionInfos对象,使用您的用户名和密码初始化了这个对象,然后将其设置在会话范围中。
If you don't want to embed the database server password directly in your code as clear text, you might want to look at the MySQL password digest features.
如果不希望在代码中以明文形式直接嵌入数据库服务器密码,那么可以考虑使用MySQL的密码摘要特性。
When you use the alternate method and specify a userid and password, this sensitive information is stored in plain text in the application code (that is, in the import or export file).
当您使用替代方法并指定用户 ID和密码时,该敏感信息以纯文本形式存储在应用程序代码中(也就是在导入或导出文件中)。
Again, the HttpClient code will be similar to the previous code with the exception that now we have to pass the username and password in to the Twitter API as well.
再次,HttpClient代码将类似于之前的代码,除了将用户名和密码传递到Twitter API中之外。
When a valid user id and password have been passed, a message indicating successful connection is returned. Here is the code for lab1.pl.
当传递了有效的ID和密码时,它会返回一条消息说明连接成功了。
But lots of programmers could know the application's DB2 authorization ID and password-because, as mentioned, these are embedded in program code.
但是许多程序员可能知道应用程序的DB 2授权ID和密码,因为前面已经提到,这些信息嵌入到程序代码中。
But lots of programmers could know the application's DB2 authorization ID and password-because, as mentioned, these are embedded in program code.
但是许多程序员可能知道应用程序的DB 2授权ID和密码,因为前面已经提到,这些信息嵌入到程序代码中。
应用推荐