At http://www.codenameone.com/blog/androids-permissions.html, it says this about internet permissions:
android.permission.INTERNET - this is a hardcoded permission in Codename One, the ability to connect to the network is coded into all Codename One applications.
Is it possible to turn this off or override it? The wording suggests otherwise. But I'm writing the rare application that has no need to access the internet. This will be obvious to my users as well. So when my users try to install my application, they may think it's asking for internet access to pass on marketing information. I'd rather not ask my customers for any privileges that I don't actually need.
You can use the build hint android.removeBasePermissions=true
This is covered here.
Related
I am doing a software project, together with people in other states. I just set up a Bugzilla website (Bugzilla 4.4.9, Apache 2.4, and Windows 7 Professional 64-bit) and it is available on the internet. I have disabled Bugzilla's self-registration of user accounts.
Now I would like to further restrict the website access (such as search and view bug reports) only to those people who have Bugzilla accounts and have signed in. Put it another way, I don't want anonymous visitors to be able to use the website or search engines to index the site. Is this something doable without modifying Bugzilla's code, which is bad in many ways? If yes, how?
If brute-force modification of Bugzilla's code is the only way, I would very appreciate any info about which files to modify or, if available, the details. I am new to Bugzilla, and I never coded with Perl.
Googled for the answer, but did not find any.
I feel I got the answer:
sign into the system as the maintainer
Go to Administration, Parameters, User Authentication.
Check requirelogin
All the above does is only the homepage is visible to visitors, but no search of results or website browser is allowed.
Cheers.
first some context for the problem:
we are using SAP Netweaver Developer Studio to create business processes. Creating User Interfaces with WebDynpro Java.
A process will be controlled by the universal worklist (UWL) which can be accessed by its API as far as I know.
My Question is: Can anyone give me a hint how to access an UWL or parts of a process in a uwl via mobile devices? Any Experience with it? The first application is a process that got an approval step somewhere close to the end. For this approval a webdynpro application exists, but the approver should also be able to use his/her mobile device to approve something within an mobile app or something.
We would love to see that HTML5 is the One, but if there is a way using Netweaver Developer Studio or even Webdynpro for it thats quite cool, too.
If there is something we can use for our uwl that works for all devices and can be used by other SAP or non-SAP Applications too, that might even be the best solution.
I hope I explained everything sufficiently, thanks for reading.
Greetings
Gian-Marco
We are now using SAP Gateway and Sybase SUP to get this issue done. Let's see how this works out.
I am trying to deploy my WPF application to some users who are outside of our corporate network. Everything works great on our LAN but I can't get the updates working when I turn on security as the user is never prompted for their login details?
Does anyone know of a way to secure my ClickOnce files so that only my users can access it? I am not allowed to put this software up without it being secure.
Any help much appreciated.
There is no way to secure your files as the ClickOnce runtime will blindly return to it's deployment point and never keep hold of the users original credentials. I have heard of ways of getting round this using various techniques but its a fair bit of work.
This might be of use www.clickoncerevolution.com.
You could also always consider an MSI installer but you won't get the automatic updates.
Marty
Internally, you can restrict access to the files on the webserver. Externally, there's not much you can do easily.
We handle this by having our customers log in when they run the application, and we verify their credentials against backend services (running on Azure). So they can't run it unless they can log in.
If you don't want to do that, I'll share this article with you. It shows how to serve up your ClickOnce files from a SQL Server database by intercepting the requests to the webserver and responding. If you were smarter with web applications than I am (not a high bar, mind you), maybe you could figure out how to intercept and ask for authentication credentials at that point.
And here's an article from CodeProject where they show one solution for what you're trying to do.
I have a website made with CakePHP 1.3.7. This website has it's own login system. Now the client wants to include a forum in the website.
I've been looking at different free solutions and phpBB and SMF seem to be what I'm looking for. The only thing I'm not so sure is about integrating those forums with the login system that I already have.
I mean, if a user has already an account for the website (or creates a new one), he/she should be able to use that same account (username) in the forum section.
Is that possible? Any clue pointing me in the right direction would be much appreciated! I mentioned both forum solutions in case one is easier to integrate than the other one, that would be also good to know (or if there's any other better option).
Thanks so much in advance!
It's possible to use both but I personally prefer SMF. You have to configure CakePHP's session component to use database sessions and create a model that will use the forums session table.
You can decide if you want or need a separate users table besides the forums users table (or its called members, don't know right now).
The "hard" part is to make the cake app read/write the sessions and cookies in the same fashion SMF does to allow a smooth transition from the cake app to the forum and backwards.
Technically you can use both forums and archive your goal with both, it's just a matter of getting the frameworks components utilized right.
I ended up using: this
It has all that I needed and integrates perfectly into Cake :)
I would like to know if there is any way to launch a local application with silverlight. I'm having some security problems doing this with a user control embedded in IE 8, so I would like to convert this into silverlight app. This little issue is stopping me to go forward with silverlight, so if any suggestion, I would appreciate to hear it.
Thanks in advance..
Carlos.
This will be, theoretically possible, using COM interop with Silverlight OOB in SL4, but you will still have the same security issues, and in addition, add some deployment issues.
In order to do this directly from within IE, you'll need to make an add-in that gets installed with proper security permissions. Any "automatic" model for this would violate the standard IE security policies, so there is no direct means of getting from browser->local system.
this would totally invalidate Silverlight security model. So, good luck with that. Pretty sure you can not do it. This is what officially is known as a "Bad Thing."
Things I learned from Jurassic Park: Just because you CAN do something doesn't mean you SHOULD do something.
It is absolutely possible to get "Out of Browser" support using Silverlight 4. But what you need to do in order to access applications on the "Host" machine is the certify the SL4 application as being trusted.
This will involve getting a certificate for it. This could be obtained from CA (or similar for Internet applications) OR you could generate your own certificate for Intranet use and have the users simply install it or have it installed via another automated sys admin style process.
The bottom line is that when the SL4 application is running OOB AND it is trusted, it can access anything on the host machine; to a point.
Even though you can have file access and so forth, you still cannot call the application directly. That is unless it's installed as a COM object.
So what you will need to do is invoke the application using the "script" host COM object. You create a reference to the Script host and then simply pass in the command (and parameters if you like) that would invoke the application.
Hey presto, you broke the wall :-)
It should be noted that the use will still only be able to run the applications on their machine that they are currently allowed to. So you won't be able to invoke Admin tools on a user with limited control.
See here for details
http://msdn.microsoft.com/en-us/library/dd550721(VS.95).aspx
It seems to me that you ought to post a question about the developement of the user control you already have. Ultimately no matter what technology you use you will need to get the user to opt-in manually. Silverlight when hosted by a browser is designed to live in nice and secure sandbox that it can't get out of. It isn't the answer to your problem in this case.
Your Silverlight application should be a trusted application because it runs on a browser.
If you want to launch an application in your local machine use the below code:
AutomationFactory.CreateObject("WScript.Shell").Run(FilePath);
Use the namespace System.Runtime.InteropServices.Automation