Properties button disabled when accessing network properties through IContextMenu - c++

So, I have a c++ plugin dll for an app that supports plugins. The dll enumerates the Shell Folder for networks and displays your networks. It then allows you to invoke action on default Context Menu actions for those networks.
Now, if you invoke the action for say "Local Area Connection", it is the same as right-clicking on it and going to properties. However, the difference when I do it manually vs launching it through the app, is that the properties button for IPv4 and IPv6 properties is disabled. Which makes me wonder if it has something to do with permissions, but I have UAC set to lowest and I start the app with Admin privileges. I also added a manifest to the dll with admin permissions. Neither of these changes made any difference.
The action on the context menu is being called using InvokeCommand() of IContextMenu.
Any ideas?

Related

Lock oracle apex application

It is possible to lock pages of an application in oracle apex(5.0). But I want to lock the entire application or entire pages in an application. How can I do this without visiting each page?
Edit: I want to restrict other developers from accessing this application, so that nobody else can make any changes without permission.
You can lock the application in application properties: Edit application properties -> Availability -> Build status, set value Run Application Only. After that developers can't change the application. On attempt to edit, you will see the following:
To unlock application: go to Application Builder -> Workspace Utilities, in a side menu choose Build and App Status. A list of application appears. Choose an application and change its build status.
I think that you mean that you want to apply an "authorization scheme" to the entire application, which you can do by creating your own authorization scheme, then from the application's home page click the "Edit Application Properties" button, "Security" tab, then "Authorization".

Share a folder on network without passwords"

We have one folder on a Windows Server 2012 R2 that we want to share without passwords"
We need to provide the access of folder to another machine that is in same network but not in domain.
We need to share it without password verification.
Make sure all computers are connected to same LAN
1.start --> Run --> fsmgmt.msc
2.shared folders dialogue will open in that right-click
shares-->new share-->browse through the folder you want to share
and then in permissions Add Guest and change the permissions to access all then click ok
3.enter ip(shared pc ip) in the LAN computer pc
it should be open
In the computer that has the share, browse to Settings >> Network & Internet >> Status >> Sharing Options (or browse to Control Panel\Network and Internet\Network and Sharing Center\Advanced sharing settings)
Advanced Sharing Options Window pops up
Choose the "All Networks" section so it opens the options
Scroll down to "Password Protected Sharing"
Choose the Option to "Turn Off Password Protected Sharing"
Click "Save Changes"
This method is only suggested if you aren't running a domain controller. I use this method on a Windows 2016 Server which has shares I need to access from PC's that are not part of any network domain. If you are running a domain controller, you want to handle everything through group policy as this method will allow anyone on your network to access the share.
If doing the above alone does not give you access then you will also need to edit the share permisions to and add the "Everyone" group object. The permission you give "Everyone" will determine whether users who access the share can read or write to the share.
Open Computer Management.
If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.
In the console tree, click System Tools, click Shared Folders, and then click Shares.
In the details pane, right-click the shared folder, and then click Properties.
On the Share Permissions tab, set the permissions you want:
To assign permissions to a shared folder to a user or group, click Add.
In the Select Users, Computers, or Groups dialog box, type "Everyone", and then click OK.
Verify the permissions for the "Everyone Group" you just added.
Click Okay
Test
References:
Set Permissions for Shared Folders
How to Create Network File Shares with No Passwords in Windows 8
enable guest access and share it with guest this should do it. Else you need to make sure everyone is part of the domain and that that share is available to all the domain users. Sharing it with the users group should do the trick.
Simply add the 'Everyone' in the security folder and provide read and write access then share the folder (or) Right-click the folder and select Share with Specific People and then add 'Everyone' with Read/Write this will allow every user can access that folder.

Can we register icon overlay at user level?

I want to display icon overlay in user context and my software installs without admin access.
Is it possible?
No, this is not possible icon overlays are system level refer to http://msdn.microsoft.com/en-us/library/windows/desktop/hh127455%28v=vs.85%29.aspx
Notice that you need admin access to add the keys mentioned in the link as well as the registry path in HKEY_LOCAL_MACHINE which will enable the effect all users. This behavior is the same for Windows Vista, 7 and 8.
No, you cannot register your overlay handler without admin access, but since explorer.exe runs with current user's credentials, you can implement some configuration checking in order to display the overlay (or not).
For example, you can check for a particular key under HKCU or for a configuration file under %APPDATA% folder.

ACL for Joomla Component

I have downloaded a 3rd party plugin for Joomla (Breezing Forms). I have created a new user for my Joomla instance who only has access to certain privileges. Breezing Forms is the only component they can use.
I have set these settings correctly from the super user, there is one action, "Configure" which I have set to "allow" for my specific user type.
Now when I log in as that user, I cannot see the components menu (I have disallowed all other components).
But if I navigate to the component:
http://domain.co.uk/administrator/index.php?option=com_breezingforms
Then I can access the page.
I have tried denying access, then trying to access the page and it rightfully prevents me from using it, so the ACL privileges are working, but there is an issue with it displaying in the menu.
I am using Joomla 2.5
Thanks,
Ian
Usually a component has two permissions which deal with that kind of stuff.
core.manage (Access Administration Interface) allows access to the component in the backend. This means the menu item is present in the Components menu.
core.admin (Configure) allows to set the options for this component.
So make sure you have set the correct permissions in BreezingForms. You probably want to have core.manage (Access Administration Interface) and not the other one. Also if you set the Configure one, make sure you also enable the manage one. It doesn't make much sense otherwise.

How to add a tab to the screen of Siebel Call Center?

I am currently working with Siebel Call Center (Siebel Tools 8.1) and I'm having some trouble adding a tab to the top of the screen, where the 'Accounts', 'Contacts', etc tabs are.
I have added an item under the Page Tabs menu for the Siebel Universal Agent application, but the tab will only show up for the Siebel Administrator.
In Tools:
Create your Views and associate them to a Screen.
In OE go to Application, choose the desired application (e.g. Siebel Universal Agent) and expand. Choose Page Tab, create a new record with your screen.
Compile everything.
In Web Client:
Go to Administration - Application > Responsibilities, choose the responsibility and then Tab Layout, select the application (same as before), find your screen and uncheck the hide property.
Clear the Cache.
Log out.
Log in with the appropriate user.
This is likely because you have not associated any responsibilities with the tab.
This can be administered under:
Site Map > Administration - Application > Responsiblities > Tab Layout
More detail can be found here:
http://download.oracle.com/docs/cd/B40099_02/books/Secur/Secur_AccessControl40.html
When you say tabs at the top of the Screen I'm assuming you are referring to a Siebel Screen. You do not associate Screens to Responsibilities. You associate Views to Responsibilities. Because a View is a child of a Screen once a View is associated to a Responsibility the Screen will also become available.
You need to do a couple of things to get the Screen/View to be visible.
In the Object Explorer of Siebel tools make sure you have defined your View
In the Object Explorer of Siebel tools make sure you have defined your Screen
In the Object Explorer of Siebel tools make sure you have associated the View to the Screen
Take note of the View Name
In the Siebel Thin/Thick Client, navigate to:
SITE MAP > Administration - Application > Responsibilities
Make sure that a Responsibility that you are associated with has the View (noted in step #4) associated with it
Click the Clear Cache button.
Log Out and back In
Your Screen and View should now be visible.
Just to add to this...
If you are creating the new View from scratch... you'll need to add the View as follows:
Navigate > Site Map > Administration - Application > Views
In the Views Applet click NEW to and enter view name and view description
Set the Local Access flag to Y
In the Responsibilities applet underneath, specify a Responsibility to associate with the view and set Local Access flag to Y
Then you can navigate to Navigate > Site Map > Administration - Application > Responsibilities and clear the cache