restriction as username password

Hi all. I need help here

Let's say I have a username field.

How do restrict some Word for recording.

example: admin, gm, moderator, etc.

TQ

Hmmmm...
You can use:

If ((input.indexOf ("admin")! = - 1) |) ((input.indexOf ("gm")! = - 1))  {

Halt and warn the user

}

Tags: BlackBerry Developers

Similar Questions

  • Created a site in dreamweaver, want to now set up the MySql database and username / password to access

    I created a site in dreamweaver, now you want to set up the MySql database and username / password to access a part of it. Dreamweaver's tools?

    I guess I need to learn PHP?

    Guidance gratefully received!

    Bob

    If you simply need to restrict access to your site, or a part of your site, there is an easier way to do it, using Apache htpasswd, but this solution is very limited and not suitable for use with clients, there is no interesting features people expect, as the ability to reset a lost password.

    Otherwise, Yes, you will need to learn some PHP and SQL.

    You will start by setting up your development computer with an Apache web server, which comes with PHP and possibly also MySQL. There are free versions, such as XAMPP, but I prefer Zend Server, which costs $195.

    Dreamweaver includes data 'tools' to the CS 5.5 version and there are third-party plugins available that will handle the data functions, but to really make things right you need to learn how to write your own code and don't mess with the tools who write code for you that you can not understand and are difficult to change.

    I think that David Powers PHP Solutions book is a good introduction and also includes a tutorial on building a password access system that is fine.

  • Bad username / password on Ready Nas Duo v2

    Since I was an adult upward, I'm not supposed to barge on this forum and just shouting that this product is crap. I really can't say that before I managed to actually connect on it, can I?

    Have to admit that really angered me.

    Have implemented what feels like 100 NAS-drives to work, and this is my second home.

    So, I install the drive inside and hang the net. Use the raidar and concludes the NAS drive to try first.

    According to the manual, the username / password should be admin / netgear1.

    According to my loginattempts on Firefox and IE, which is not correct.

    It is a common mistake?

    How do I correct? What I really want to start my career of ReadyNas by resetting the tincan until I was able to connect in it?

    The password on DUO v2 is the password, it is not netgear1.

  • Wireless router requesting domain username, password and logon

    I recently bought a router without wire - WBR - T2 - as my old netgear router has stopped working. I can connect via the ethernet fine connection and access the internet. But on my computer Vista laptop when I try to connect to the wireless network, what I asks me to enter a username, password and domain logon. The old netgear router has not asked for these. Any help if her I need information would be appreciated.

    Thank you
    Jon

    I don't know where you get the application for the user name, etc. Your computer is on a domain? In the meantime, here is general information about the implementation of a wireless network. See if anything here helps you.

    To configure the router:

    Have a computer connected to the router with an ethernet cable. Examples given are for a Linksys router. See the manual of your router or the router mftr's Web site. for the parameters by default if you don't have a Linksys. Open a browser such as Internet Explorer or Firefox and in the address bar type:

    http://192.168.1.1 [Enter] (it is default IP address of the router, which varies from router to router then check your manual)

    This will bring you to the login screen of the router. The default username is blank and the Linksys default password is "admin" without the quotes. Enter this information. You are now in the configuration of the router utility. Your configuration utility may be slightly different from mine. The first thing to do is to change the default password because * all * known default passwords for different routers.

    Click the Administration link at the top of the page. Enter your new password. MAKE A NOTE SOMEWHERE THAT YOU WILL NOT LOSE. Re-enter the password to confirm it, and then click Save settings at the bottom of the page. The router will reboot and show you the box of connection again. Do not fill in the user name and put it in your new password to enter the configuration utility.

    Now, click on the link wireless at the top of the page. Change the network name (SSID) wireless by default to something, you'll recognize. I suggest that my clients not use their surname as the SSID. For example, you might want to name your network wireless network "CastleAnthrax" or similar. ;-)

    Click on save settings and when you get the prompt that your changes were successful, click the wireless security link which is just beside the Basic Wireless Settings link (where you changed your SSID). Most computers purchased during the last 4 years have the wireless hardware that will support WPA2-Personal (also known as WPA2-PSK). This is the desired encryption level. If your wireless hardware is older, use WPA. Don't use WEP, because who is easily broken within minutes. So go ahead and set the Security Mode WPA2-Personal. Do this and enter a password. For example, you could use the password ' here be dragons, beware you scurvy dogs! The password is what you enter on all computers that are allowed to connect to the wireless network. MAKE A NOTE SOMEWHERE THAT YOU WILL NOT LOSE.

    At this point, your router is set up and if the computer that you use to configure the router will normally connect wireless, disconnect the ethernet cable and wireless of the computer should see your new network. Enter the password that you have created (exactly as you wrote it with all capital letters and punctuation) to join the network and start surfing.
    MS - MVP - Elephant Boy computers - don't panic!

  • Not allowed instant access to my Windows Mail without username & password! Can't remember either! WHY?

    I can't access my Windows mail. Safety sentre suddenly gives me a pop - up window, who want a username & password for connection home.  I do know this... never needed before.  Help!  What should I do now?

    I think I might need expert advice.  Nothing of what I'm trying to help me in this :(((

    If you have forgotten your username and password, call your ISP (internet service provider).
    Your ISP is the one who gave you the user name and password. They have the record. Ask them.

    At the same time ask if there is a technician who can help you with the problem of popup box.

    PS You should post this question in the forum for networking and online:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-Networking?tab=unanswered

  • zero or change username & password for a connection to another computer on the local network?

    When you open the network, and see you computers and or network for the Working Group action, well, I entered accidentally the wrong username / password for the computer, and I can't seem to change the username-password and or reset it.

    On the local network, I have a linux machine using samba, all permissions are correct, since the box vista * can * connect just fine and have access to everything which, however, on the vista box, I checked still remember the name of user and password, and now I can't change it on another account, I need to take it.

    I have searched for hours and I can't seem to find the answer.

    I tried to disable the account on the linux side and this does not, however, so, he says: "access denied", with no way to enter a new username / password!

    Anyone has an idea on how to solve this problem?

    Finally found the answer.

    In the cmd prompt, (Administrator rights), making control userpasswords2, and then tap the Advanced tab and finally, the button manage passwords.

  • Signing authority tool: Configure the SMTP username password

    Hello

    I try to configure the signing authority tool.

    I entered in remote Client Administration, CSI file by e-mail to: my email address.

    However, when I run, there is an error:

    So, I have to configure SMTP username & password in some places. But I tried to find, but I can't.

    No idea on how to configure the SMTP username & password?

    Thank you in advance.

    The administration of BlackBerry signature tool does not support SMTP authentication.  If it's something you need I recommend logging a feature request in the incident handler: https://www.blackberry.com/jira/secure/Dashboard.jspa

  • Set up username/password on 3600

    I wonder if someone can help me to install some kind of function with name of user and password. For reasons of responsibility, I would like to be able to configure the different usernames and passwords for all the engineers here. For now, all we do is telnet in and put the password in. I want to be able to track and possibly limit the powers of some users instead of just having all use the same passage and activate pass.

    Thank you!

    What you're trying to do is possible with permission of AAA. To do this on the router, these are the AAA commands required:

    AAA new-model

    AAA authentication login default [group] local

    AAA authorization exec default [group] local

    Before we get into these, plese take care of creating the database of the local user as follows:

    password username level_zero privilege 0 zero

    basic_user privilege 1 password username

    username admin privilege 15 password admin

    With the above configuration, level_zero user can execute commands only to disable, enable, exit, help and logout.

    Basic_user the user can execute all orders of level 1 and level 0.

    The admin user can run all the commands on the router.

    On the router, what are the 3 level of default orders:

    -privilege level 0 includes orders to disable, enable, exit, help and logout

    -privilege level 1 normal level on Telnet; includes all commands on the router user level > guest

    -privilege level 15 includes orders enable-level in the router #.

    command prompt

    Today based on your requirement, you can create a private bewteen 2-14 level and assign no matter what priv level 15 commands (levels 0 and 1 would be inherited by default). Here is an example:

    username password six 6 0 6 privilege

    With that, six user is only able to execute all orders of level 0 & 1. If the user needs to run "config t" on the router, to add the following line to add this command to level 15 level 6.

    privilege exec level 6 configure terminal

    I hope this helps! Please be aware of the 'show running-config' however. For a better understanding of this particular behavior of this command you see the following link:

    http://www.Cisco.com/warp/public/63/showrun.shtml

    Renault

  • I can access pc window xp 7 but can't access window 7 pc of Windows xp who asked for username & password. I already had the off-ramp of password protected sharing

    1 PC having xp

    PC 2 having win.7
    2 PC can access everything shared on pc 1
    but pc 1 can't access anything whatsoever to pc 2
    It was asking username and password
    password protected sharing is already disable
    If I have a username & password for the pc 2 it would not
    These systems are mutually ping correctly.
    the Working Group is the same
    what I have to do

    Hi Anil,

    I suggest you try all the steps from the following link to make sure that all parameters are set accordingly.

    Networking of computers running different versions of Windows

    http://Windows.Microsoft.com/en-in/Windows7/networking-home-computers-running-different-versions-of-Windows

    Post us the results once you try the steps above.

  • How to cancel name for username/password when you access the WIn7 computer to stream?

    Hello

    I have a win7 computer and I would like to access it from a stream. I see the computer win 7 banners, but when I try to connect to access shared folders, it requires username & password. I don't know what they are. I have another computer with Vista from where I can access the computer of win 7. I can also access files on the computer of vista of banners.
    I turned on the discovery network, printer and file sharing, turn on sharing so anyone can read & write files in the public folder. Disabled password protection sharing and allowed Windows to manage the homegroup connections (recommended).
    Can any suggestions on how I disable the name of user and password? or at least what is it?
    Thank you
    Leon.
    PS: He used to work properly without a username, but suddenly he began to pose for her (probably after that I restarted the computer or the streamed)

    Hello

    I understand that you want to cancel the name for username/password when you access the WIn7 computer to stream.

    I suggest you to send your query on the forum of streamer and I hope that they will be able to guide you in the right direction.

    Here is the link:

    http://support-splashtop2.Splashtop.com/forums

    It will be useful. For any other corresponding Windows help, do not hesitate to contact us and we will be happy to help you.

    Kind regards!

  • After the change of username & password for wireless internet connection WiFi printer is not responding.

    Original title:

    Canon Pixma MG5200 (printer WiFi)

    I changed the username & password for my wireless connection internet and since then my WiFi printer does not respond after that I did mentioned the new configuration. I tried to reset the printer with its installation CD, but at the end of installation, I get a message that the printer is not found on the network. I also read the help manual, but I couldn't solve the problem... I really appreciate a clear explanation for having my printer answer & working again.

    Hello
     
     
    1. what exactly happens when you try to print? You receive an error message?
    2. other wireless devices work properly?
    3. what operating system is installed on the computer?
     
     
    Check if the printer is on and properly connected tour.
    Method 1:
    You can run the fixit from the following link and check if it works:
    Diagnose and automatically fix problems printing and printer
    http://support.Microsoft.com/mats/printing_problems/
     
    Method 2:
    Try the steps in the following article and check:
    Why can I not print?
    http://Windows.Microsoft.com/en-us/Windows7/why-cant-I-print
     
    You can also consult the following link:
    Printer in Windows problems
    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows
     
    I hope this helps!
  • Message to username/password invalid when you try to connect to the computer on a homegroup.

    Original title: Second computer cannot find the domain of the first computer in a homegroup

    I have a 2 computer homegroup.  Each computer is says that it is a member of the homegroup.  No matter what computer created the homegroup has no difficulty to access each other, but who later joined can not reach the first.  There is always a message to username/password invalid.  In addition, in the left panel, the computer that joined is not listed under "homegroup" but the computer that created the homegroup sees the one that was added.  This works the same regardless of the order in which everything happens.  I used to think some userid is messed up, but since it works when I reverse the process of creation/join I suspect it's something different.

    Found.  It still does not make any sense, but...
    Remember that this is always the computer that created the homegroup that is the problem.  When you go through Control Panel / homegroup computers are said to belong to a homegroup.  When you go to networking and click to view the entire map, there is this message that says that you have been invited to join a homegroup.  Don't forget, it's the computer that created the home group.  In any case, logical, if you agree to join the homegroup, you have created - and the "homegroup" says you are already a member-all right.  Works fine now.  Go figure.

  • ORA-12154 for sqlplus username/password@TNS but tns ping works and sqlplus username@TNS works.

    Hello-

    I am facing the following question when I try to connect by using the command prompt sqlplus for Oracle 11.2.0.3 DB installed and running on HP - UX.

    The password is not all special characters & I also tried with the double quotes which did not work.

    Following want to work with username/password@TNSNAME because I'm trying to get my application to connect to the database, the schema mentioned because it uses the jdbc connection with the connection as (username/password@TNS:1521) string.

    C:\Users>sqlplus username/Pa55w0rd@DBNAME;
    
    
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 10 07:21:43 2016
    
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    
    
    
    
    Enter user-name:
    C:\Users>tnsping DBNAME
    
    
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 10-FEB-2
    016 07:21:57
    
    
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    
    
    Used parameter files:
    C:\app\product\11.2.0\client_2\network\admin\sqlnet.ora
    
    
    
    
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = server.domain) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DBNAME)))
    OK (50 msec)
    
    
    C:\Users>sqlplus username@DBNAME
    
    
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 10 07:22:05 2016
    
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    
    Enter password:
    
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    
    
    SQL> show user
    USER is "username"
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64
    bit Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    
    
    C:\Users>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    content content of tnsnames.ora & sqlnet.ora:

    DBNAME =
    (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP) (HOST = server.domain)  (PORT = 1521))
        (CONNECT_DATA =
            (SERVER = DEDICATED)
            (SERVICE_NAME = DBNAME)
        )
    )
    

    # sqlnet.ora Network Configuration File: C:\app\product\11.2.0\client_2\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    
    
    # This file is actually generated by netca. But if customers choose to 
    # install "Software Only", this file wont exist and without the native 
    # authentication, they will not be able to connect to the database on NT.
    
    
    #SQLNET.AUTHENTICATION_SERVICES= (NTS)
    
    
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    
    
    
    
    
    
    
    

    Thanks in advance

    Hello

    sqlplus username/Pa55w0rd@DBNAME;

    Try it without the semicolon;

    sqlplus username/Pa55w0rd@DBNAME

    Regards Thomas

  • Cannot connect through the ORA-01017 Invalid Username/Password database link

    Hello

    I have two virtual machines with Oracle 11 g 2 and one with Oracle 12 c installed on RHEL 6

    I wanted to install a dblink between the 2, but after you have created the dblink I get error: ORA - 01017 Invalid username/password

    Now, I know, the error is clear enough but when I try to connect using netmgr it works

    So just to summarize, Oracle 12 c, I'm trying to connect to Oracle 11 g using a DBLINK but I get ORA-01017

    Since Oracle 12 c, I created a new service so that I have the remote db alias in tnsname.ora and at the end of the process, when they ask for test connection, I can connect successfully to remote db

    Then I created a dblink according to the following:

    SQL > CREATE PUBLIC DBLINK LINK DATABASE to CONNECT to

    "hr""" IDENTIFIED BY ' password ' with the HELP of 'REMOTEDB ';

    If I then select * from employees@dblink, I get the error

    What I've noticed, it is that in the 11g (the target machine) I can not connect with OS authentication, don't know if its related

    If i: sqlplus / as sysdba I get ORA-01031 insufficient become

    I have to connect to the Linux box as user 'oracle', who is a member of the groups oinstall dba

    Am I missing something?

    Thank you!

    CHRI$ says:

    SQL > CREATE PUBLIC DATABASE LINK DBLINK TO CONNECT TO

    'hr' IDENTIFIED BY 'password' with the HELP of "REMOTEDB";

    You will probably have to create the link without containing the user name and the word in double quotes.

  • ORA-01017: username/password invalid name - OS authentication failure

    Hi all

    Oracle 11G 11.2.0.3.0 running on Windows 2008R2 64-bit

    I am trying to get Windows authentication to work, local to the database server, but I continue to turn in the error ORA-01017.

    C:\Users\xxx>sqlplus /
    SQL*Plus: Release 11.2.0.3.0 Production on Thu Aug 14 09:00:29 2014
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    ERROR:
    ORA-01017: invalid username/password; logon denied
    

    When I connect as SYS, here are the parameter values of os_auth (os_authent_suffix must be ' ' due to a requirement of the application.) We strive to connect an application to a remote server by using the windows credentials (IE DOMAIN\APPSVC)

    C:\Users\xxx>sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.3.0 Production on Thu Aug 14 09:01:26 2014
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> show parameter os_auth;
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    os_authent_prefix                    string      ""
    remote_os_authent                    boolean     FALSE
    

    Here's my tnsnames file:

    # tnsnames.ora Network Configuration File: C:\app\Oracle11G\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        )
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
        )
      )
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = CGYORADEV02.corp.DOMAIN.com)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl.corp.DOMAIN.com)
        )
      )
    

    Here's my sqlnet.ora file:

    # sqlnet.ora Network Configuration File: C:\app\Oracle11G\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to 
    # install "Software Only", this file wont exist and without the native 
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    

    I created the user as below:

    SQL> select * from all_users;
    USERNAME                          USER_ID CREATED
    ------------------------------ ---------- ---------
    DOMAIN\XXX               98 14-AUG-14
    

    So the first step, what I'm trying to prove that the database server can accept and allow the windows credentials and then I take the next step in trying to test authentication remotely to this database server using authentication Windows/OS

    Any help appreciated, thanks in advance

    You seem to have put the os_authent_prefix to a pair of double quotes. This is not going to work! You must erase it completely, the use of quotes twosingle. Like this:

    orclz >

    orclz > alter system set os_authent_prefix = "scope = spfile;

    Modified system.

    orclz > force boot

    ORACLE instance started.

    Total System Global Area 784998400 bytes

    Bytes of size 2407584 fixed

    327156576 variable size bytes

    448790528 of database buffers bytes

    Redo buffers 6643712 bytes

    Mounted database.

    Open database.

    orclz > sho setting pref

    VALUE OF TYPE NAME

    ------------------------------------ ---------- ----------------------

    asm_preferred_read_failure_groups string

    os_authent_prefix string

    orclz >

Maybe you are looking for

  • comment the view administrator

    I noted as possible for new users of this show. When looking for answers to problems will add their questions to permanent positions which, in some cases, are two three years old or more. Or new, instead of creating a new question from their own. is

  • No Audio/Sound - Windows says that I have no hardware.

    I use windows XP. When restarting my computer after having downloaded a player function and quickplay i. I find that I have no sound at all. The speakers are plugged. I tried to go to start > Control Panel > Audio and HiFi, it tells me that I have no

  • Unable to display Inbox in windows mail

    I open my windows mail and can display messages in any folder except the Inbox. sent, deleted saved. If I send me an email, it goes to show there is an email in my Inbox unread, but he says no messages to display. I talked to a guy who told me that h

  • DM client for bb?

  • Computer stuck in safe mode

    I called Lexmark printer wouldn't align and they consulted my comp. and then said nothing was wrong with is access to my comp. foreign companies and wanted to charge me $790.00 to solve the problem through Microsoft. I refused to do. Well the guy dis