dmbfan 9 Posted February 16, 2012 Report Share Posted February 16, 2012 I've created a couple bots where the user places login information into ui text boxes. I'm wondering if there is a way to set a box to mask the values that go into the box (for passwords)? Quote Link to post Share on other sites
a2mateit 395 Posted February 16, 2012 Report Share Posted February 16, 2012 I believe this is a dev feature only. Quote Link to post Share on other sites
JohnB 255 Posted February 16, 2012 Report Share Posted February 16, 2012 Right...you can accomplish that using the ui html panel. John Quote Link to post Share on other sites
Anonym 53 Posted February 16, 2012 Report Share Posted February 16, 2012 I still think this is a good idea and yet I have the dev version. http://ubotstudio.com/forum/index.php?/topic/9264-add-an-attribute-to-the-ui-textbox/page__p__47292__fromsearch__1#entry47292 Maybe included in the dev version but still for UI components!? Quote Link to post Share on other sites
dmbfan 9 Posted February 16, 2012 Author Report Share Posted February 16, 2012 Thanks for the replies! Looks like it might be time to look into upgrading from Pro to Dev Quote Link to post Share on other sites
JohnB 255 Posted February 16, 2012 Report Share Posted February 16, 2012 I'm trying to figure out the logic here. What is the point of hiding the password from the person who already knows it? In case someone is looking over their shoulder? It complicates things, IMO, if the password is typed incorrectly. John Quote Link to post Share on other sites
Anonym 53 Posted February 16, 2012 Report Share Posted February 16, 2012 In that case John, why do every operating system mask out the passwords? It's not because of the person who writes it but because of people who might be standing around, it's just a matter of security and make it look professional. There are things that you can do in HTML panel, but there are also things where you NEED a UI component, e.g. saving files locally, so if you need to save files locally you just have to use a UI Save File. Mixing HTML and UI components is not optimal. Quote Link to post Share on other sites
JohnB 255 Posted February 16, 2012 Report Share Posted February 16, 2012 Yeah...I didn't really mean it was a bad idea, as I can think of a couple of reasons why it's a good idea...I just didn't see it as necessary, that's all. But it is useful. John Quote Link to post Share on other sites
dmbfan 9 Posted February 17, 2012 Author Report Share Posted February 17, 2012 One of my clients asked about it because he starts the bot and then walks away and does other things. He had concerns that his password is then out there for hours for all to see. I just rewrote the bot to pull his login information from a file on his machine which worked around the issue and he was fine with the solution (as a funny aside, he was going to put a piece of duct tape over that part of the screen as his fix!.) It's just for a bot that might be used/sold to a number of people, it would be easier to simply have the password masked is all. Quote Link to post Share on other sites
danoctav 7 Posted February 17, 2012 Report Share Posted February 17, 2012 I'm also request this feature. Every time when I want to show someone a bot ,I must read the password from a file(or in a variable) and this is not convenient in many cases. Quote Link to post Share on other sites
Legend 181 Posted February 17, 2012 Report Share Posted February 17, 2012 There is an interesting debate on the virtues of password masking at http://www.schneier.com/blog/archives/2009/07/the_pros_and_co.html for anyone interested. There is a pretty easy way for dev licence holders to accomplish this as well. http://ubotstudio.com/forum/public/style_emoticons/default/rolleyes.gif Quote Link to post Share on other sites
Anonym 53 Posted February 17, 2012 Report Share Posted February 17, 2012 There is a pretty easy way for dev licence holders to accomplish this as well. Yes, and no. Let's say that you have a bot where you want to save results to your local drive. How would you do? Have a combination of HTML panel and UI Save file command? AFAIK there is no way of instructing HTML to enable saving of e.g. CSV files to your local drive, probably because this was never the intention because HTML is a rendered on the server side while, when it's used in UB, it's rendered on the client side in UB and it makes sense there. Maybe I am lost. Please let me know in that case. Quote Link to post Share on other sites
Legend 181 Posted February 17, 2012 Report Share Posted February 17, 2012 Have you checked out John's HTML UI video? That should explain quite a bit... http://ubotstudio.com/forum/public/style_emoticons/default/smile.gif Quote Link to post Share on other sites
Anonym 53 Posted February 17, 2012 Report Share Posted February 17, 2012 Now when you mention it, I guess I should view it again... Quote Link to post Share on other sites
JohnB 255 Posted February 17, 2012 Report Share Posted February 17, 2012 Yes, and no. Let's say that you have a bot where you want to save results to your local drive. How would you do? Have a combination of HTML panel and UI Save file command? AFAIK there is no way of instructing HTML to enable saving of e.g. CSV files to your local drive, probably because this was never the intention because HTML is a rendered on the server side while, when it's used in UB, it's rendered on the client side in UB and it makes sense there. Maybe I am lost. Please let me know in that case. I don't understand what you mean by this. Are you talking about saving the inputted data to a csv? John Quote Link to post Share on other sites
Anonym 53 Posted February 17, 2012 Report Share Posted February 17, 2012 John, yes, that could be it. You want to save your data to something and you want to select the file of the file you want to store it to. I am not able to do that, because a file dialogue requires that the file exists. Am I doing something wrong? Quote Link to post Share on other sites
JohnB 255 Posted February 17, 2012 Report Share Posted February 17, 2012 Ahhh...let me see what I can do...I know what you're talking about... John Quote Link to post Share on other sites
JohnB 255 Posted February 17, 2012 Report Share Posted February 17, 2012 It seems it's in my video around 8:15... http://learnubot.com/version4-2/ubot-studio-tutorials-v4-3-ui-html-panel-elements/ John 1 Quote Link to post Share on other sites
Anonym 53 Posted February 17, 2012 Report Share Posted February 17, 2012 Thanks John! You ROCK (as always!) Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.