I'm thinking of porting a desktop file launcher app to the Windows 10 store app.
So being a program launcher it would need unrestricted access to ANY folder/path/exe on the users system, it's a configurable program/argument launcher. Basically global file system access. Is this possible without the user having to choose anything?
For example the app could call: notepad.exe "f:\data\test.txt"
or: c:\program files\adobo\photoshock\photo.exe "g:\data\test.tiff"
No, UWP apps have limited access to the file system by design.
You may want to try converting you desktop app into a "modern" desktop app thru the Project Centennial.
Related
I and My team are working on a project where our main task is to block the browser or particular website to have upload access. For eg, if we go to Facebook and want to upload a new profile picture, the Fb website allow us to open our system directory and traverse through our system file. We want to prevent this access of uploading files on websites.
My friend suggested that it can be done using Windows Driver. I have a basic knowledge of C++, registry, and service API functions. My queries..
Is there any other way to block these upload access by browser?
If Windows Driver can do it, then what should I learn and where to start?
Is it possible using a Storage driver or file system driver?
Thank You
You can write a File System Filter Drivers, which allows you to block some access to files.
I would start in Microsoft Documentation File System Filter Drivers. also, I would recommend reading "Windows Kernel Programming" book by Pavel Yosifovich, it has a couple of chapters on that topic.
I'm trying to access the file system for read/write operations on Windows Phone 8.1 from Coded UI Test in order to log events and read settings files.
I'm unable to access Windows.Storage.KnownFolders due to System.UnauthorizedAccessException and unable to grant permissions due to a lack of an application manifest in a coded UI test.
I'm also unable to access Windows.Storage.ApplicationData.Current because the process has no package identity.
Any ideas on how to solve this?
I have an app to which I'd like to add cloud sync for the application's data files.
The desktop version of the app is written in Java and runs on Windows, OSX, and Linux. mobile version is an Android app. To further complicate matters, the Android app is available in two versions, free and paid, with different package names.
Google Drive API allows files to be stored and manipulated in an application data folder. Is it possible for all of the above versions of the app to share the same application directory? What exactly constitutes an "application"?
If the Android app is uninstalled, will the application folder be removed?
A drive app is distinct from an android/desktop/web app. All of those can use the same drive app. The drive app is the entry in the developer console. Just use the same developer console app id and credentials in all your variants.
I have accidentally killed one of my WP projects in VS2013. I receovered the source code from the backup, but now, if I try to recompile it and deploy to my device for further debugging, all my app data in the app IsolatedStodage area will be wiped (see this post).
The problem is that I have gathered some important data in my app, and need to save them for later use with newer versions of my app. Is there a way to access the file system on a WP device unlocked for development and save the corresponding IsolatedStorage files for the app? I know that it's possible for the WP8/8.1 emulator (we can mount the .vhd files), but what about a WP device? And if it it's possible, what files/folders do we need to save?
Try IsoStoreSpy.
It allows you to browse the IsolatedStorage of application on both emulator and device. You need to copy all the files from IsolatedStorage and upload them to device after updating the application.
I know what is metro app (just did some research) my question is where metro app runs. By my understanding :
Detktop app: running on your local machine with .net framework, and present data to user, you can launch/close it.
Web app: Publishing on IIS server, running from server render html to client, user can send request and get result.
Now, Metro app: is it just distributed on windows store, user can download/install it and run from local as same as desktop? or run from store, render something to user like web? or maybe some new working styles, can user close it?
Metro Style App was a working name before Microsoft settled on Windows Store Apps.
Windows Store Apps just like desktop apps run on local machine, but are often architected in more modern ways where the app would often connect to web services or push notifications that run in a data center. The UI though usually runs on local machine even if it is written in html/js with winjs.
The biggest difference is distribution - web apps run on the server so you only need to navigate to them in your browser to run the latest version. Desktop apps need to be installed - either with xcopy-style install, Windows installer or perhaps the ClickOnce technology. Store apps are distributed through the store which makes them easier to install and update than desktop apps as well as monetize, but are sandboxed (have limited access to local machine resources) for security.